XRControlStyle Members

Constructors

Name Description
XRControlStyle()

Initializes a new instance of the XRControlStyle class with the default settings.

XRControlStyle(Color, Color, BorderSide, Single, Font, Color, TextAlignment)

Initializes a new instance of the XRControlStyle class with the specified settings.

XRControlStyle(Color, Color, BorderSide, Single, Font, Color, TextAlignment, PaddingInfo)

Initializes a new instance of the XRControlStyle class with the specified settings.

XRControlStyle(Color, Color, BorderSide, Single, Font, Color, TextAlignment, PaddingInfo, BorderDashStyle)

Initializes a new instance of the XRControlStyle class with the specified settings.

XRControlStyle(Single)

Initializes a new instance of the XRControlStyle class with the specified dpi value.

XRControlStyle(XRControlStyle)

Initializes a new instance of the XRControlStyle class and copies the settings from the object passed as the parameter.

Fields

Name Description
Default

Represents an XRControlStyle object with all its style properties set to their default values.

Properties

Name Description
BackColor

Gets or sets the background color stored in this style.

BorderColor

Gets or sets the border color stored in this style.

BorderDashStyle

Gets or sets the border dash style stored in this style.

BorderStyle

Overrides the BrickStyle.BorderStyle property.

BorderWidth

Specifies the border width, in floating point values.

Borders

Specifies a set of borders (top, right, bottom, left) that should be visible for the control.

Container

Gets the container of this control style object.

Font

Gets or sets the font stored in this style.

ForeColor

Gets or sets the foreground color stored in this style.

IsDisposed

For internal use. Gets a value indicating whether the control has been disposed of.

Name

Gets or sets the name of the control style.

Padding

Gets or sets the padding stored in this style.

Sides

Overrides the BrickStyle.Sides property.

Site

Gets or sets the site associated with this control style.

StringFormat

Overrides the BrickStyle.StringFormat property.

StyleUsing

Gets the object that determines which of the current style's properties are used by the current XRControl object.

TextAlignment

Gets or sets the text alignment stored in this style.

Methods

Name Description
Clone()

Creates a copy of the current XRControlStyle object.

Equals(Object)

Determines whether the specified object is equal to the current XRControlStyle instance.

GetHashCode()

Gets the hash code (a number) that corresponds to the value of the current XRControlStyle object.

StyleEquals(XRControlStyle)

Obsolete. Determines whether the specified XRControlStyle instance equals the current XRControlStyle instance.

Events

Name Description
Disposed

Occurs after the XRControlStyle has been disposed of.