The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRControlStyle Members

An individual style object that is also a base for all conditional formatting objects.

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.

BorderWidthSerializable Gets or sets the string value used to support serialization of the BrickStyle.BorderWidth property.
(Inherited from BrickStyle)
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.

DefaultFont Gets the default font for a brick style.
(Inherited from BrickStyle)
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.

IsJustified Specifies whether or not the brick's alignment is justified.
(Inherited from BrickStyle)
IsTransparent Gets a value indicating whether the brick style paints a transparent brick.
(Inherited from BrickStyle)
IsValid Gets a value indicating whether the brick style is valid.
(Inherited from BrickStyle)
Name

Gets or sets the control style name.

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
ChangeAlignment(TextAlignment)
(Inherited from BrickStyle)
Clone()

Creates a copy of the current XRControlStyle object.

CreateDefault() Creates the BrickStyle instance with the defaul settings.
(Inherited from BrickStyle)
DeflateBorderWidth(RectangleF, BorderSide, Single) Deflates the specified rectangle by the specified width of the specified borders.
(Inherited from BrickStyle)
DeflateBorderWidth(RectangleF, BorderSide, Single, Boolean) Deflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
(Inherited from BrickStyle)
DeflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) Deflates the specified rectangle by the specified width of the specified borders using the specified border style.
(Inherited from BrickStyle)
DeflateBorderWidth(RectangleF, Single) Deflates the specified rectangle by the width of borders represented by this brick style.
(Inherited from BrickStyle)
DeflateBorderWidth(RectangleF, Single, Boolean) Deflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
(Inherited from BrickStyle)
Dispose() Disposes of the BrickStyle object.
(Inherited from BrickStyle)
Equals(Object)

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

Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode()

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

GetType() Gets the Type of the current instance.
(Inherited from Object)
InflateBorderWidth(RectangleF, BorderSide, Single) Inflates the specified rectangle by the specified width of specified borders.
(Inherited from BrickStyle)
InflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) Inflates the specified rectangle by the specified width of specified borders using the specified border style.
(Inherited from BrickStyle)
InflateBorderWidth(RectangleF, Single) Inflates the specified rectangle by the width of borders represented by this brick style.
(Inherited from BrickStyle)
InflateBorderWidth(RectangleF, Single, Boolean) Inflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
(Inherited from BrickStyle)
InflateBorderWidth(RectangleF, Single, Boolean, BorderSide) For internal use.
(Inherited from BrickStyle)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ResetBackColor() Resets the BrickStyle.BackColor property value.
(Inherited from BrickStyle)
ResetBorderColor() Resets the BrickStyle.BackColor property value.
(Inherited from BrickStyle)
ResetBorderDashStyle() Resets the BrickStyle.BorderDashStyle property value.
(Inherited from BrickStyle)
ResetBorderWidth() Resets the BrickStyle.BorderWidth property value.
(Inherited from BrickStyle)
ResetBorders() Resets all border settings.
(Inherited from BrickStyle)
ResetFont() Resets the BrickStyle.Font property value.
(Inherited from BrickStyle)
ResetForeColor() Resets the BrickStyle.ForeColor property value.
(Inherited from BrickStyle)
ResetPadding() Resets the BrickStyle.Padding property value.
(Inherited from BrickStyle)
ResetTextAlignment() Resets the BrickStyle.TextAlignment property value.
(Inherited from BrickStyle)
Scale(Single) Rescales the brick style to the specified ratio.
(Inherited from BrickStyle)
SetAlignment(HorzAlignment, VertAlignment) Sets the brick's alignment.
(Inherited from BrickStyle)
StyleEquals(XRControlStyle)

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

ToString() Returns a string that represents the current object.
(Inherited from Object)

Events

Name Description
Disposed

Occurs after the XRControlStyle has been disposed of.

See Also