The following tables list the members exposed by ElementStyle.
Name | Description | |
---|---|---|
ElementStyle Constructor | Creates an element style (ElementStyle object). |
Name | Description | |
---|---|---|
AlignHorz | Gets or sets the horizontal alignment for the style. | |
AlignText | Gets or sets the alignment of the text with respect to the alignment of the picture for the style. | |
AlignVert | Gets or sets the vertical alignment for the style. | |
BackColor | Gets or sets the background color for the style. | |
BackgroundImage | Gets or sets the background image for the style. | |
Border | Gets or sets the border for the style. | |
CanFocus | Gets or sets whether the object can receive focus. | |
DrawFocusRectangle | Gets or sets the focus rectangle drawing style for the object. | |
Enabled | Gets or sets whether the object can receive focus and respond to user actions. | |
Font | Gets or sets the font for the style. | |
ForeColor | Gets or sets the text color for the stylet. | |
ForegroundImage | Gets or sets the foreground image for the style. | |
MarginBottom | Gets or sets the margin between the bottom of the object and its contents. | |
MarginLeft | Gets or sets the margin between the left edge of the object and its contents. | |
MarginRight | Gets or sets the margin between the right edge of the object and its contents. | |
MarginTop | Gets or sets the margin between the top of the object and its contents. | |
Picture | Gets or sets the picture for the style. | |
PictureMargin | Gets or sets the margin between the text and the picture for the style. | |
PictureOrientation | Gets or sets the orientation of the picture for the style. | |
PictureTransparencyColor | Gets or sets the transparency color for the picture for the style. | |
Selectable | Gets or sets whether the user can interact with the element. | |
StyleName | Gets or sets the name for the created style. | |
Text | Gets or sets the contents of the control as a string matching exactly what is displayed. | |
TextOrientation | Gets or sets the orientation of the text. | |
TextWrap | Gets or sets whether to automatically wrap text without line breaks. | |
Visible | Gets or sets, for the style, whether the element is visible. |
Name | Description | |
---|---|---|
IsAlignHorzSet | Gets whether the horizontal alignment (AlignHorz property) is set. | |
IsAlignTextSet | Gets whether the text alignment (AlignText property) is set. | |
IsAlignVertSet | Gets whether the vertical alignment (AlignVert property) is set. | |
IsBackColorSet | Gets whether the background color (BackColor property) is set. | |
IsBackgroundImageSet | Gets whether the background image (BackgroundImage property) is set. | |
IsBorderSet | Gets whether the border (Border property) is set. | |
IsCanFocusSet | Gets whether the ability of the element to receive focus (CanFocus property) is set. | |
IsDrawFocusRectangleSet | Gets whether the focus rectangle (DrawFocusRectangle property) is set. | |
IsEnabledSet | Gets whether the element is enabled (Enabled property is set). | |
IsFontSet | Gets whether the font (Font property) is set. | |
IsForeColorSet | Gets whether the text color (ForeColor property) is set. | |
IsForegroundImageSet | Gets whether the foreground image (ForegroundImage property) is set. | |
IsMarginBottomSet | Gets whether the bottom margin (MarginBottom property) is set. | |
IsMarginLeftSet | Gets whether the left margin (MarginLeft property) is set. | |
IsMarginRightSet | Gets whether the right margin (MarginRight property) is set. | |
IsMarginTopSet | Gets whether the top margin (MarginTop property) is set. | |
IsPictureMarginSet | Gets whether the margin of the image (PictureMargin property) is set. | |
IsPictureOrientationSet | Gets whether the orientation of the image (PictureOrientation property) is set. | |
IsPictureSet | Gets whether the image (Picture property) is set. | |
IsPictureTransparencyColorSet | Gets whether the transparency color of the image (PictureTransparencyColor property) is set. | |
IsSelectableSet | Gets whether the element is selectable (Selectable property is set). | |
IsStyleNameSet | Gets whether the style name (StyleName property) is set. | |
IsTextOrientationSet | Gets whether the orientation of the text (TextOrientation property) is set. | |
IsTextSet | Gets whether the text (Text property) is set. | |
IsTextWrapSet | Gets whether the element can wrap multiple-line text (TextWrap property is set). | |
IsVisibleSet | Gets whether the viewability of the element (Visible property) is set. |