[]
        
(Showing Draft Content)

FarPoint.Win.ElementStyle

ElementStyle Class

Represents the element style object.

Inheritance
ElementStyle
Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
public class ElementStyle
Public Class ElementStyle

Constructors

Name Description
ElementStyle()

Creates an element style (ElementStyle object).

Properties

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 style.

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.

Methods

Name Description
IsAlignHorzSet()

Gets whether the AlignHorz property is set.

IsAlignTextSet()

Gets whether the AlignText property is set.

IsAlignVertSet()

Gets whether the AlignVert property is set.

IsBackColorSet()

Gets whether the BackColor property is set.

IsBackgroundImageSet()

Gets whether the BackgroundImage property is set.

IsBorderSet()

Gets whether the Border property is set.

IsCanFocusSet()

Gets whether the CanFocus property is set.

IsDrawFocusRectangleSet()

Gets whether the DrawFocusRectangle property is set.

IsEnabledSet()

Gets whether the Enabled property is set.

IsFontSet()

Gets whether the Font property is set.

IsForeColorSet()

Gets whether the ForeColor property is set.

IsForegroundImageSet()

Gets whether the ForegroundImage property is set.

IsMarginBottomSet()

Gets whether the MarginBottom property is set.

IsMarginLeftSet()

Gets whether the MarginLeft property is set.

IsMarginRightSet()

Gets whether the MarginRight property is set.

IsMarginTopSet()

Gets whether the MarginTop property is set.

IsPictureMarginSet()

Gets whether the PictureMargin property is set.

IsPictureOrientationSet()

Gets whether the PictureOrientation property is set.

IsPictureSet()

Gets whether the Picture property is set.

IsPictureTransparencyColorSet()

Gets whether the PictureTransparencyColor property is set.

IsSelectableSet()

Gets whether the Selectable property is set.

IsStyleNameSet()

Gets whether the StyleName property is set.

IsTextOrientationSet()

Gets whether the TextOrientation property is set.

IsTextSet()

Gets whether the Text property is set.

IsTextWrapSet()

Gets whether the TextWrap property is set.

IsVisibleSet()

Gets whether the Visible property is set.

Reset()

Resets the element style.