Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementControl Class
Properties Methods Events

In This Topic
    ElementControl Class Members
    In This Topic

    The following tables list the members exposed by ElementControl.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyDisplays information about the control.  
    Public PropertyGets the System.Windows.Forms.AccessibleObject assigned to the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the default action description of the control for use by accessibility client applications. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the description of the control used by accessibility client applications. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the name of the control used by accessibility client applications. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the accessible role of the control (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the horizontal alignment of the contents of the control.  
    Public PropertyGets or sets the alignment of the text in the control.  
    Public PropertyGets or sets the vertical alignment of the contents of the control.  
    Public PropertyGets or sets a value indicating whether the control can accept data that the user drags onto it. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets where this control is scrolled to in System.Windows.Forms.ScrollableControl.ScrollControlIntoView(System.Windows.Forms.Control). (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the background color for the control.  
    Public PropertyGets or sets the background image for the control.  
    Public PropertyGets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the System.Windows.Forms.BindingContext for the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the border for the control.  
    Public PropertyGets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets whether the control can receive focus.  
    Public PropertyGets a value indicating whether the control can be selected. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the control has captured the mouse. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the rectangle that represents the client area of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the height and width of the client area of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the name of the company or creator of the application containing the control. (Inherited from System.Windows.Forms.Control)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets whether the element currently has the input focus.  
    Public PropertyGets or sets the shortcut menu associated with the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the System.Windows.Forms.ContextMenuStrip associated with this control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the collection of controls contained within the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control has been created. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the cursor that is displayed when the mouse pointer is over the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the data bindings for the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the DPI value for the display device where the control is currently being displayed. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the rectangle that represents the display area of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the base System.Windows.Forms.Control class is in the process of disposing. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the drawing style of the focus rectangle in the control.  
    Public PropertyGets or sets whether the control can receive focus and respond to user actions.  
    Public PropertyOverridden. Gets whether the control has focus.  
    Public PropertyGets or sets the font for the control.  
    Public PropertyGets or sets the text color for the control.  
    Public PropertyGets or sets the foreground image for the control.  
    Public PropertyGets the window handle that the control is bound to. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control contains one or more child controls. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the height of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the Input Method Editor (IME) mode of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control has been disposed of. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control has a handle associated with it. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control is mirrored. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a cached instance of the control's layout engine. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the space between controls. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the margin between the bottom of the control and its contents.  
    Public PropertyGets or sets the margin between the left edge of the control and its contents.  
    Public PropertyGets or sets the margin between the right edge of the control and its contents.  
    Public PropertyGets or sets the margin between the top of the control and its contents.  
    Public PropertyGets or sets the size that is the upper limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the size that is the lower limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the name used in code to identify the control.  
    Public PropertyGets or sets padding within the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the parent of the control.  
    Public PropertyGets or sets the picture for the control.  
    Public PropertyGets or sets the margin between the text and the picture.  
    Public PropertyGets or sets the orientation of the picture in the control.  
    Public PropertyGets or sets the transparency color for the picture in the control.  
    Public PropertyGets or sets the picture transparency tolerance for the element.  
    Public PropertyGets the size of a rectangular area into which the control can fit. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the product name of the assembly containing the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the version of the assembly containing the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets a value indicating whether the control is currently re-creating its handle. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the rectangle for the control's dimensions.  
    Public PropertyGets or sets whether the control automatically refreshes itself each time a property is set that changes the control or its value.
     
    Public PropertyGets or sets the window region associated with the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets whether the user can interact with the control.  
    Public PropertyGets or sets the site of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the height and width of the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the element state for the control.  
    Public PropertyGets or sets the tab order of the control within its container. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets the object that contains data about the control. (Inherited from System.Windows.Forms.Control)
    Public PropertyOverridden. Gets or sets the contents of the control as a string matching exactly what is displayed.  
    Public PropertyGets or sets the orientation of the text in the control.  
    Public PropertyGets or sets whether to automatically wrap text without line breaks.  
    Public PropertyGets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost System.Windows.Forms.Form that the control is contained in. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from System.Windows.Forms.Control)
    Public PropertyGets or sets whether the control is visible.  
    Public PropertyGets or sets the width of the control. (Inherited from System.Windows.Forms.Control)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from System.Windows.Forms.Control)
    Public MethodBrings the control to the front of the z-order. (Inherited from System.Windows.Forms.Control)
    Public MethodRetrieves a value indicating whether the specified control is a child of the control. (Inherited from System.Windows.Forms.Control)
    Public MethodForces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from System.Windows.Forms.Control)
    Public MethodCreates the System.Drawing.Graphics for the control. (Inherited from System.Windows.Forms.Control)
    Public MethodSupports rendering to the specified bitmap. (Inherited from System.Windows.Forms.Control)
    Public MethodRetrieves the return value of the asynchronous operation represented by the System.IAsyncResult passed. (Inherited from System.Windows.Forms.Control)
    Public MethodRetrieves the form that the control is on. (Inherited from System.Windows.Forms.Control)
    Public MethodMoves the focus to the control.  
    Public MethodOverloaded. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from System.Windows.Forms.Control)
    Public MethodReturns the next System.Windows.Forms.ContainerControl up the control's chain of parent controls. (Inherited from System.Windows.Forms.Control)
    Public MethodGets the control.  
    Public MethodGets the style for the element.  
    Public MethodGets the current font or the default font if no font is specified.  
    Public MethodRetrieves the next control forward or back in the tab order of child controls. (Inherited from System.Windows.Forms.Control)
    Public MethodRetrieves the size of a rectangular area into which a control can be fitted. (Inherited from System.Windows.Forms.Control)
    Public MethodConceals the control from the user. (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Converts a Logical DPI value to its equivalent DeviceUnit DPI value. (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Overridden. Raises the Paint event when the element has been asked to repaint itself.  
    Public MethodOverloaded. Paints the background of the element.  
    Public MethodOverloaded. Forces the control to apply layout logic to all its child controls. (Inherited from System.Windows.Forms.Control)
    Public MethodComputes the location of the specified screen point into client coordinates. (Inherited from System.Windows.Forms.Control)
    Public MethodComputes the location of the specified client point into screen coordinates. (Inherited from System.Windows.Forms.Control)
    Public MethodPreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from System.Windows.Forms.Control)
    Public MethodComputes the size and location of the specified screen rectangle in client coordinates. (Inherited from System.Windows.Forms.Control)
    Public MethodComputes the size and location of the specified client rectangle in screen coordinates. (Inherited from System.Windows.Forms.Control)
    Public MethodForces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from System.Windows.Forms.Control)
    Public MethodOverridden. Resets the background color of the control to its default value.  
    Public MethodResets the border of the control to its default settings.  
    Public MethodOverridden. Resets the font of the control to its default value.  
    Public MethodOverridden. Resets the text color of the control to its default value.  
    Public MethodResets the picture for the control to its default value.  
    Public MethodResets the picture transparency color to its default color.  
    Public MethodResets the transparency tolerance for a picture in the element to its default value.  
    Public MethodOverridden. Resets the contents to the default value.  
    Public MethodOverloaded. Resumes usual layout logic. (Inherited from System.Windows.Forms.Control)
    Public Method (Inherited from System.Windows.Forms.Control)
    Public MethodScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs. (Inherited from System.Windows.Forms.Control)
    Public MethodActivates the next control. (Inherited from System.Windows.Forms.Control)
    Public MethodSends the control to the back of the z-order. (Inherited from System.Windows.Forms.Control)
    Public MethodOverloaded. Sets the bounds of the element to the position and size of the bounding rectangle of the specified dimensions.  
    Public MethodSets the style for the element.  
    Public MethodDisplays the control to the user. (Inherited from System.Windows.Forms.Control)
    Public MethodTemporarily suspends the layout logic for the control. (Inherited from System.Windows.Forms.Control)
    Public MethodChanges the control state to the Inverted or Normal settings of the ElementState enumeration.  
    Public MethodForces the control to repaint immediately any region that has become invalid.  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the value of the System.Windows.Forms.Control.BackColor property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.BackgroundImage property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.BackgroundImageLayout property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.BindingContext property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.CausesValidation property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the focus or keyboard user interface (UI) cues change. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is clicked. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.ClientSize property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.ContextMenu property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.ContextMenuStrip property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a new control is added to the System.Windows.Forms.Control.ControlCollection. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a control is removed from the System.Windows.Forms.Control.ControlCollection. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.Cursor property changes. (Inherited from System.Windows.Forms.Control)
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when the value of the System.Windows.Forms.Control.Dock property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is double-clicked. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a drag-and-drop operation is completed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when an object is dragged into the control's bounds. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when an object is dragged out of the control's bounds. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when an object is dragged over the control's bounds. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Enabled property value has changed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is entered. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Font property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.ForeColor property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the foreground image in the control has changed.  
    Public EventOccurs during a drag operation. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control receives focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a handle is created for the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control's handle is in the process of being destroyed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the user requests help for a control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.ImeMode property has changed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a control's display requires redrawing. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a key is pressed while the control has focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a character. space or backspace key is pressed while the control has focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a key is released while the control has focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when a control should reposition its child controls. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the input focus leaves the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Location property value has changed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control loses focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control's margin changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control loses mouse capture. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is clicked by the mouse. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is double clicked by the mouse. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer enters the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer rests on the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer leaves the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer is moved over the control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse pointer is over the control and a mouse button is released. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the mouse wheel moves while the control has focus. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is moved. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control's padding changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is redrawn. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Parent property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the picture in the control has changed.  
    Public EventOccurs before the System.Windows.Forms.Control.KeyDown event when a key is pressed while focus is on this control. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when System.Windows.Forms.AccessibleObject is providing help to accessibility applications. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the value of the System.Windows.Forms.Control.Region property changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is resized. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.RightToLeft property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Size property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control style changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the system colors change. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.TabIndex property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.TabStop property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Text property value changes. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is finished validating. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the control is validating. (Inherited from System.Windows.Forms.Control)
    Public EventOccurs when the System.Windows.Forms.Control.Visible property value changes. (Inherited from System.Windows.Forms.Control)
    Top
    See Also