Name | Description | |
---|---|---|
ControlHostElement Constructor | Overloaded. |
The following tables list the members exposed by ControlHostElement.
Name | Description | |
---|---|---|
ControlHostElement Constructor | Overloaded. |
Name | Description | |
---|---|---|
_bounds | The System.Drawing.Rectangle that defines the position of the Element within its parent. (Inherited from C1.Framework.Element) | |
_flags | An Element.ElementFlags value that defines the behavior of this Element. (Inherited from C1.Framework.Element) | |
_parent | The parent Element. (Inherited from C1.Framework.Element) | |
_style | The Element.Style object that defines the appearance of this Element. (Inherited from C1.Framework.Element) |
Name | Description | |
---|---|---|
AutoHeight | Gets or sets the System.Boolean value specifying whether element height is automatically determined by its style and contents. (Inherited from C1.Framework.Element) | |
AutoSize | Gets the System.Boolean value specifying whether element size is automatically determined by its style and contents. (Inherited from C1.Framework.Element) | |
AutoWidth | Gets or sets the System.Boolean value specifying whether element width is automatically determined by its style and contents. (Inherited from C1.Framework.Element) | |
Bounds | Gets or sets the element's bounds (size and location) within its parent element, in pixels. (Inherited from C1.Framework.Element) | |
Children | Gets a list of child elements. (Inherited from C1.Framework.Element) | |
ContainsFocus | Gets a value that indicates whether this Element or one of its children has the focus. (Inherited from C1.Framework.Element) | |
ContentBounds | Client rectangle, in pixels. This discounts margins, borders, and padding. (Inherited from C1.Framework.Element) | |
Control | Gets or sets the ControlHostElement.Control that this element is hosting. | |
Enabled | Gets or sets whether the element is enabled (can receive mouse and keyboard messages). (Inherited from C1.Framework.Element) | |
Focusable | Gets or sets whether the element is focusable (receives keyboard messages). (Inherited from C1.Framework.Element) | |
Focused | Gets a value that indicates whether this Element has the focus. (Inherited from C1.Framework.Element) | |
ForceLineBreak | Gets a Element.LineBreak value that determines whether there should be line breaks before and/or after this Element when it occurs in a paragraph. (Inherited from C1.Framework.Element) | |
HasChildren | Gets a value that indicates the element has a non-empty Element.Children collection. (Inherited from C1.Framework.Element) | |
Height | Element height. Set to -1 to let the element calculate it automatically. (Inherited from C1.Framework.Element) | |
HitTestable | Gets or sets whether the element is hit-testable (receives mouse messages). (Inherited from C1.Framework.Element) | |
HostControl | Gets the System.Windows.Forms.Control that is hosting this Element. (Inherited from C1.Framework.Element) | |
HostView | Gets the IView that is hosting this Element. (Inherited from C1.Framework.Element) | |
InheritedRtl | Gets or sets whether the value of RightToLeft property is inherited from the parent element. (Inherited from C1.Framework.Element) | |
IsDirty | Gets a value that indicates this element needs to be laid out. (Inherited from C1.Framework.Element) | |
IsEnabled | Gets whether this element and all its ancestors are enabled. (Inherited from C1.Framework.Element) | |
IsFocusable | Gets whether this element can currently receive the focus. (Inherited from C1.Framework.Element) | |
IsHot | Gets or sets whether the element should be displayed using the Style.Hot style. (Inherited from C1.Framework.Element) | |
IsPressed | Gets or sets whether the element should be displayed using the Style.Pressed style. (Inherited from C1.Framework.Element) | |
IsVisible | Gets whether this element and all its ancestors are visible. (Inherited from C1.Framework.Element) | |
Left | Gets or sets the horizontal position of the element within its parent. (Inherited from C1.Framework.Element) | |
LineDescent | Gets the portion of the element that renders below the baseline. Usually non-zero only for text elements, depends on font. (Inherited from C1.Framework.Element) | |
Location | Gets or sets the location of the element within its parent. (Inherited from C1.Framework.Element) | |
Parent | Gets the element's parent, or null if this is the root element. (Inherited from C1.Framework.Element) | |
RenderStyle | Gets the element's style, or a default style if the element doesn't have one. This never returns null. (Inherited from C1.Framework.Element) | |
RightToLeft | Gets or sets whether the element should be drawn using right-to-left layout. (Inherited from C1.Framework.Element) | |
Root | Gets the element's top-level parent. (Inherited from C1.Framework.Element) | |
ShowFocusRectangle | Gets or sets whether the element should display a focus rectangle when it has focus. (Inherited from C1.Framework.Element) | |
Size | Gets or sets the size of the element. (Inherited from C1.Framework.Element) | |
Style | Gets or sets the Style object used to render this Element. (Inherited from C1.Framework.Element) | |
Top | Gets or sets the vertical position of the element within its parent. (Inherited from C1.Framework.Element) | |
Validated | Gets or sets a value indicating if the contents was successfully validated. (Inherited from C1.Framework.Element) | |
Visible | Gets or sets whether the element is visible. (Inherited from C1.Framework.Element) | |
Width | Element width. Set to -1 to let the element calculate it automatically. (Inherited from C1.Framework.Element) |
Name | Description | |
---|---|---|
HostPanel | If overriden in nested classes and returns not null, InputPanel will use the HostPanel to make ControlHostElement.Control scrollable withing the element. |
Name | Description | |
---|---|---|
ApplyStyle | Copies style attributes from the element to the hosted control. | |
Clone | Returns a clone of this element. (Inherited from C1.Framework.Element) | |
Focus | Sets the focus to the host control and to this Element within the host control. (Inherited from C1.Framework.Element) | |
GetBounds | Overloaded. 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. (Inherited from C1.Framework.Element) | |
GetFlags | (Inherited from C1.Framework.Element) | |
GetParent<T> | Navigates up the tree to find an ancestor of a given type. (Inherited from C1.Framework.Element) | |
GetParentOfType | Navigates up the tree to find an ancestor of a given type. (Inherited from C1.Framework.Element) | |
GetScrollOrigin | Returns the scroll origin (override to implement non-scrolling areas). (Inherited from C1.Framework.Element) | |
HitTest | Returns the element at a given point. (Inherited from C1.Framework.Element) | |
Invalidate | Overloaded. Invalidates this Element within the host control. (Inherited from C1.Framework.Element) | |
IsChildOf | Determines whether this element is a child of another element. (Inherited from C1.Framework.Element) | |
IsInputKey | Determines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from C1.Framework.Element) | |
Layout | Overloaded. Lays out this element based on its style and contents. (Inherited from C1.Framework.Element) | |
Measure | Overloaded. Provides the size, in pixels, of the specified content drawn on the specified System.Drawing.Graphics surface. (Inherited from C1.Framework.Element) | |
Offset | Adjusts the location of this element by the specified amount. (Inherited from C1.Framework.Element) | |
OnClick | Called by the host control when the user clicks this Element. (Inherited from C1.Framework.Element) | |
OnDoubleClick | Called by the host control when the user double-clicks this Element. (Inherited from C1.Framework.Element) | |
OnGotFocus | Overridden. Called by the host control when this Element receives the focus. | |
OnKeyDown | Called by the host control when the user presses a key and this Element has the focus. (Inherited from C1.Framework.Element) | |
OnKeyPress | Called by the host control when the user presses a character key and this Element has the focus. (Inherited from C1.Framework.Element) | |
OnKeyUp | Called by the host control when the user releases a key and this Element has the focus. (Inherited from C1.Framework.Element) | |
OnLostFocus | Overridden. Called by the host control when this Element loses the focus. | |
OnMouseDown | Called by the host control when the user presses a mouse button over this Element. (Inherited from C1.Framework.Element) | |
OnMouseEnter | Called by the host control when the mouse enters this Element. (Inherited from C1.Framework.Element) | |
OnMouseEnterHover | Called by the host control when the mouse enters this Element, even if another element has captured the mouse. (Inherited from C1.Framework.Element) | |
OnMouseLeave | Overridden. Called by the host control when the mouse leaves this Element. | |
OnMouseLeaveHover | Called by the host control when the mouse leaves this Element, even if another element has captured the mouse. (Inherited from C1.Framework.Element) | |
OnMouseLostCapture | Called by the host control when the user releases the left mouse button over a disabled Element. (Inherited from C1.Framework.Element) | |
OnMouseMove | Called by the host control when the mouse moves over this Element. (Inherited from C1.Framework.Element) | |
OnMouseUp | Called by the host control when the user releases a mouse button over this Element. (Inherited from C1.Framework.Element) | |
OnMouseWheel | Handles MouseWheel events. (Inherited from C1.Framework.Element) | |
OnTextChanged | Override to get text change notifications. | |
OnValidated | Called by the host control after the element has been validated. (Inherited from C1.Framework.Element) | |
OnValidating | Called by the host control when the element is about to lose focus. (Inherited from C1.Framework.Element) | |
PointToClient | Computes the location of the specified screen point into client coordinates. (Inherited from C1.Framework.Element) | |
PointToScreen | Computes the location of the specified client point into screen coordinates. (Inherited from C1.Framework.Element) | |
Render | Overridden. Renders the element into a given rectangle. | |
RenderChildren | Renders the child elements into a given rectangle. (Inherited from C1.Framework.Element) | |
RenderContent | Render this element's content (no children). (Inherited from C1.Framework.Element) | |
SetDirty | Overloaded. Marks this element as dirty, forcing all parent and child elements to be laid out. (Inherited from C1.Framework.Element) | |
SetFlags | Overloaded. (Inherited from C1.Framework.Element) | |
UpdateControlBounds | Updates the hosted control bounds to match the element's bounds. |
Name | Description | |
---|---|---|
FinalizeUI | Finalizes the user interface. This method is called when element is removed from UI. (Inherited from C1.Framework.Element) | |
GetBorderPath | Gets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders). (Inherited from C1.Framework.Element) | |
GetDeviceDPI | Gets the DPI value for the display device where the Element.HostControl is currently being displayed. (Inherited from C1.Framework.Element) | |
OnRightToLeftChanged | (Inherited from C1.Framework.Element) | |
OnStateChanged | Called by the host control when the state of this Element changes. (Inherited from C1.Framework.Element) | |
RescaleConstantsForDpi | Provides constants for rescaling the Element when a DPI change occurs. (Inherited from C1.Framework.Element) | |
ScaleToDeviceDPI | Overloaded. Scales the Style instance uses the DeviceDpi value if this element has a Element.HostControl. (Inherited from C1.Framework.Element) | |
UpdateStyle | (Inherited from C1.Framework.Element) |