C1.Win.4.8 Assembly / C1.Framework Namespace / Element Class


Element Class Methods

For a list of all members of this type, see Element members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)  
Public MethodReturns a clone of this element.  
Public Methodstatic (Shared in Visual Basic)Finds the Element that is represented by a given hot key.  
Public MethodSets the focus to the host control and to this Element within the host control.  
Public Methodstatic (Shared in Visual Basic)Gets a System.Drawing.Bitmap from the application's embedded resources.  
Public MethodOverloaded. Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor.  
Public Method  
Public Methodstatic (Shared in Visual Basic)Gets an System.Drawing.Image from the application's embedded resources.  
Public MethodNavigates up the tree to find an ancestor of a given type.  
Public MethodNavigates up the tree to find an ancestor of a given type.  
Public MethodReturns the scroll origin (override to implement non-scrolling areas).  
Public MethodReturns the element at a given point.  
Public MethodOverloaded. Invalidates this Element within the host control.  
Public MethodDetermines whether this element is a child of another element.  
Public MethodDetermines whether the specified key is a regular input key or a special key that requires preprocessing.  
Public MethodOverloaded. Lays out this element based on its style and contents.  
Public MethodOverloaded. Provides the size, in pixels, of the specified content drawn on the specified System.Drawing.Graphics surface.  
Public MethodAdjusts the location of this element by the specified amount.  
Public MethodCalled by the host control when the user clicks this Element.  
Public MethodCalled by the host control when the user double-clicks this Element.  
Public MethodCalled by the host control when this Element receives the focus.  
Public MethodCalled by the host control when the user presses a key and this Element has the focus.  
Public MethodCalled by the host control when the user presses a character key and this Element has the focus.  
Public MethodCalled by the host control when the user releases a key and this Element has the focus.  
Public MethodCalled by the host control when this Element loses the focus.  
Public MethodCalled by the host control when the user presses a mouse button over this Element.  
Public MethodCalled by the host control when the mouse enters this Element.  
Public MethodCalled by the host control when the mouse enters this Element, even if another element has captured the mouse.  
Public MethodCalled by the host control when the mouse leaves this Element.  
Public MethodCalled by the host control when the mouse leaves this Element, even if another element has captured the mouse.  
Public MethodCalled by the host control when the user releases the left mouse button over a disabled Element.  
Public MethodCalled by the host control when the mouse moves over this Element.  
Public MethodCalled by the host control when the user releases a mouse button over this Element.  
Public MethodHandles MouseWheel events.  
Public MethodCalled by the host control after the element has been validated.  
Public MethodCalled by the host control when the element is about to lose focus.  
Public MethodComputes the location of the specified screen point into client coordinates.  
Public MethodComputes the location of the specified client point into screen coordinates.  
Public MethodRenders the element into a given rectangle.  
Public MethodRenders the child elements into a given rectangle.  
Public MethodRender this element's content (no children).  
Public MethodOverloaded. Marks this element as dirty, forcing all parent and child elements to be laid out.  
Public MethodOverloaded.   
Public Methodstatic (Shared in Visual Basic)  
Top
Protected Methods
 NameDescription
Protected MethodFinalizes the user interface. This method is called when element is removed from UI.  
Protected MethodGets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders).  
Protected MethodGets the DPI value for the display device where the HostControl is currently being displayed.  
Protected Method  
Protected MethodCalled by the host control when the state of this Element changes.  
Protected MethodProvides constants for rescaling the Element when a DPI change occurs.  
Protected MethodOverloaded. Scales the Style instance uses the DeviceDpi value if this element has a HostControl.  
Protected Method  
Top
See Also