Click or drag to resize

Control Properties

The Control type exposes the following members.

Properties
  NameDescription
Public propertyAllowDrop
Gets or sets a value indicating whether this control can serve as drop target.
Public propertyBackgroundColor
Gets or sets the color for the background of the control
Public propertyBounds
Gets the bounding rectangle of this control relative to its container
Public propertyCursor
Gets or sets the type of cursor to use when the mouse is hovering over the control
Public propertyEnabled
Gets or sets a value indicating whether this Control (or its children) are enabled and accept user input.
Public propertyHasFocus
Gets a value indicating whether this instance has the keyboard input focus.
Public propertyHeight
Gets or sets the height of the control size.
Public propertyIsSuspended
Gets a value indicating whether the layout of child controls is suspended.
Public propertyIsVisualControl
Gets a value indicating this Control is part of the visual tree.
Public propertyLoaded
Gets a value indicating that the control is loaded onto a form, that is it has been created, added to a parent, and shown
Public propertyLocation
Gets the location of the control as positioned by the container
Public propertyLogicalParent
Gets the logical parent control.
Public propertyParent
Gets the container which this control has been added to, if any
Public propertyParentWindow
Gets the window this control is contained in
Public propertySize
Gets or sets the size of the control. Use -1 to specify auto sizing for either the width and/or height.
Public propertySupportedPlatformCommands
Gets the supported platform commands that can be used to hook up system functions to user defined logic
Public propertyTabIndex
Gets or sets the tab index order for this control within its container.
Public propertyTag
Gets or sets a user-defined object that contains data about the control
Public propertyToolTip
Gets or sets the tool tip to show when the mouse is hovered over the control
Public propertyVisible
Gets or sets a value indicating whether this Control is visible to the user.
Public propertyVisualControls
Gets an enumeration of controls that are in the visual tree.
Public propertyVisualParent
Gets the visual container of this control, if any.
Public propertyWidth
Gets or sets the width of the control size.
Top
See Also