The following tables list the members exposed by ElementWindowless.
Name | Description | |
---|---|---|
ElementWindowless Constructor | Overloaded. |
Name | Description | |
---|---|---|
AlignHorz | Gets or sets the horizontal alignment of the contents of the element. | |
AlignText | Gets or sets the alignment of the text in the element. | |
AlignVert | Gets or sets the vertical alignment of the contents of the element. | |
BackColor | Gets or sets the background color for the element. | |
BackgroundImage | Gets or sets the background image for the element. | |
Border | Gets or sets the border for the element. | |
CanFocus | Gets or sets whether the element can receive focus. | |
ContainsFocus | Gets whether the element currently has the input focus. | |
DrawFocusRectangle | Gets or sets whether and how the focus rectangle is displayed in the element. | |
Enabled | Gets or sets whether the object can receive focus and respond to user actions. | |
Focused | Gets whether the element has focus. | |
Font | Gets or sets the font for the element. | |
ForeColor | Gets or sets the foreground color for the element. | |
ForegroundImage | Gets or sets the foreground image for the element. | |
MarginBottom | Gets or sets the margin between the bottom of the element and its contents. | |
MarginLeft | Gets or sets the margin between the left edge of the element and its contents. | |
MarginRight | Gets or sets the margin between the right edge of the element and its contents. | |
MarginTop | Gets or sets the margin between the top of the element and its contents. | |
Name | Gets or sets the name of the element. | |
Picture | Gets or sets the picture for the element. | |
PictureMargin | Gets or sets the margin between the text and the picture. | |
PictureOrientation | Gets or sets the picture orientation for the element. | |
PictureTransparencyColor | Gets or sets the picture transparency color for the element. | |
PictureTransparencyTolerance | Gets or sets the picture transparency tolerance for the element. | |
Rectangle | Gets the rectangular coordinates of the element. | |
Redraw | Gets or sets whether the element is allowed to paint. | |
Selectable | Gets or sets whether the user can interact with the element. | |
State | Gets or sets the state of the element. | |
Tag | Gets or sets the Tag object for the element. | |
Text | Gets or sets the text for the element. | |
TextOrientation | Gets or sets the text orientation for the element. | |
TextRotationAngle | Gets or sets the rotation angle of the text in the element. | |
TextWrap | Gets or sets whether to wrap the text in the element. | |
Visible | Gets or sets whether the element is visible. |
Name | Description | |
---|---|---|
Elements | Gets the collection of IElement-derived objects that the current ElementWindowless object contains. |
Name | Description | |
---|---|---|
CopyTo | Copies the properties of this windowless element object into the target object. | |
Deserialize | Loads the object from XML. | |
Focus | Moves the focus to the element. | |
GetElementStyle | Gets the style for the element. | |
GetFont | Gets the default font for the element. | |
GetRotatedTextSize | Overloaded. Gets the size of the specified text when drawn with the specified font, orientation, wrapping, hotkey prefix, and string trimming. | |
OnFontChanged | Raises the FontChanged event when the font in the control has changed. | |
Refresh | Forces the element to invalidate its client area and immediately repaint. | |
ResetBackColor | Resets the background color to its default setting. | |
ResetBorder | Resets the border of the element to its default settings. | |
ResetFont | Resets the font for the element to it default value. | |
ResetForeColor | Resets the text color for the element to its default value. | |
ResetPictureTransparencyColor | Resets the transparency of a picture in the element to its default value. | |
ResetPictureTransparencyTolerance | Resets the transparency tolerance for a picture in the element to its default value. | |
ResetTag | Resets the Tag object for the element to its default value. | |
ResetTextRotationAngle | Resets the rotation angle for text in the element to its default value. | |
Serialize | Saves the object to XML. | |
SetBounds | Overloaded. Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in integer values). | |
SetElementStyle | Overloaded. Sets the style for the element. | |
ToggleState | Toggles the state of the element. | |
Update | Causes the control to redraw the invalidated regions with its client area. |
Name | Description | |
---|---|---|
OnBackgroundImageChanged | Raises the BackgroundImageChanged event when the background picture has changed. | |
OnChanged | Raises the Changed event when the element has changed. | |
OnClick | Raises the Click event when the use clicks on the control. | |
OnDoubleClick | Raises the DoubleClick event when the use double-clicks on the control. | |
OnForegroundImageChanged | Raises the ForegroundImageChanged event when the foreground picture has changed. | |
OnNameChanging | Raises the NameChanging event. | |
OnParentChanged | Raises the ParentChanged event when the the parent of the element has changed. | |
OnPictureChanged | Raises the PictureChanged event when the picture has changed. | |
OnPropertyChanged | Raises the PropertyChanged event when the property on an element has changed. | |
ResetAlignHorz | Resets the horizontal alignment of the element to the default value. | |
ResetAlignText | Resets the text alignment of the element to the default value. | |
ResetAlignVert | Resets the vertical alignment of the element to the default value. | |
ResetBackgroundImage | Resets the background image of the element to the default value. | |
ResetCanFocus | Resets to the default value whether the element can have the focus. | |
ResetElements | Resets the elements to their default settings. | |
ResetEnabled | Resets to the default value whether the element is enabled. | |
ResetForegroundImage | Resets the foreground image for the element to its default value. | |
ResetMarginBottom | Resets the margin between the bottom of the element and its contents to the default value. | |
ResetMarginLeft | Resets the margin between the left side of the element and its contents to the default value. | |
ResetMarginRight | Resets the margin between the right side of the element and its contents to the default value. | |
ResetMarginTop | Resets the margin between the top of the element and its contents to the default value. | |
ResetParent | Internal use only. | |
ResetPicture | Resets the image for the element to its default value. | |
ResetPictureMargin | Resets the margin between text and picture to its default value. | |
ResetPictureOrientation | Resets the orientation of the picture in the element to its default value. | |
ResetText | Resets the text in an element to its default value. | |
ResetTextOrientation | Resets the orientation of text in an element to its default value. | |
ResetVisible | Resets to the default value whether an element is visible. | |
SetBoundsFloat | Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions (in floating-point values). |
Name | Description | |
---|---|---|
BackgroundImageChanged | Occurs when the background image for the element changes. | |
Changed | Occurs when the element changes. | |
Click | Occurs when the user clicks the element. | |
DoubleClick | Occurs when the user double-clicks the element. | |
FontChanged | Occurs when the font for the element changes. | |
ForegroundImageChanged | Occurs when the foreground image for the element changes. | |
MouseDown | Occurs if the user presses a mouse button while the cursor is over the element. | |
MouseMove | Occurs if the user moves the cursor while the cursor is over the element. | |
MouseUp | Occurs if the user releases a mouse button while the cursor is over the element. | |
NameChanging | Occurs before the Name property of the element changes. | |
PictureChanged | Occurs when the picture in the element changes. | |
PropertyChanged | Occurs when a property on the element changes. |