Skip to main content

Formatting Members

A container of values, which are applied to a control when its owner Formatting Rule‘s condition is true.

Constructors

Name Description
Formatting() Initializes a new instance of the Formatting class with the default settings.
Formatting(String, DefaultBoolean) Initializes a new instance of the Formatting class with the specified name and visibility setting.

Fields

Name Description
Default static Represents an XRControlStyle object with all its style properties set to their default values. Inherited from XRControlStyle.

Properties

Name Description
BackColor Gets or sets the background color stored in this style. Inherited from XRControlStyle.
BorderColor Gets or sets the border color stored in this style. Inherited from XRControlStyle.
BorderDashStyle Gets or sets the border dash style stored in this style. Inherited from XRControlStyle.
Borders Specifies a set of borders (top, right, bottom, left) that should be visible for the control. Inherited from XRControlStyle.
BorderStyle Overrides the BrickStyle.BorderStyle property. Inherited from XRControlStyle.
BorderWidth Specifies the border width, in floating point values. Inherited from XRControlStyle.
BorderWidthSerializable Gets or sets the string value used to support serialization of the BrickStyle.BorderWidth property. Inherited from BrickStyle.
Container Gets the container of this control style object. Inherited from XRControlStyle.
DefaultFont static Gets the default font for a brick style. Inherited from BrickStyle.
Font Gets or sets the font stored in this style. Inherited from XRControlStyle.
ForeColor Gets or sets the foreground color stored in this style. Inherited from XRControlStyle.
IsDisposed For internal use. Gets a value indicating whether the control has been disposed of. Inherited from XRControlStyle.
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.
Name Gets or sets the control style name. Inherited from XRControlStyle.
Padding Gets or sets the padding stored in this style. Inherited from XRControlStyle.
Sides Overrides the BrickStyle.Sides property. Inherited from XRControlStyle.
Site Gets or sets the site associated with this control style. Inherited from XRControlStyle.
StringFormat Overrides the BrickStyle.StringFormat property. Inherited from XRControlStyle.
StyleUsing Gets the object that determines which of the current style’s properties are used by the current XRControl object. Inherited from XRControlStyle.
TextAlignment Gets or sets the text alignment stored in this style. Inherited from XRControlStyle.
Visible Gets or sets the visibility state.

Methods

Name Description
ChangeAlignment(TextAlignment) Inherited from BrickStyle.
Clone() Creates a new Formatting instance, which is a copy of the current instance.
CreateDefault() static Creates the BrickStyle instance with the defaul settings. Inherited from BrickStyle.
DeflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) static Deflates the specified rectangle by the specified width of the specified borders using the specified border style. 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) static Deflates the specified rectangle by the specified width of the specified borders. 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.
DeflateBorderWidth(RectangleF, Single) Deflates the specified rectangle by the width of borders represented by this brick style. Inherited from BrickStyle.
Dispose() Disposes of the BrickStyle object. Inherited from BrickStyle.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current XRControlStyle instance. Inherited from XRControlStyle.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current XRControlStyle object. Inherited from XRControlStyle.
GetType() Gets the Type of the current instance. Inherited from Object.
InflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) static Inflates the specified rectangle by the specified width of specified borders using the specified border style. Inherited from BrickStyle.
InflateBorderWidth(RectangleF, BorderSide, Single) static Inflates the specified rectangle by the specified width of specified borders. Inherited from BrickStyle.
InflateBorderWidth(RectangleF, Single, Boolean, BorderSide) For internal use. 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) Inflates the specified rectangle by the width of borders represented by this brick style. Inherited from BrickStyle.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static 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.
ResetBorders() Resets all border settings. Inherited from BrickStyle.
ResetBorderWidth() Resets the BrickStyle.BorderWidth property value. 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. Inherited from XRControlStyle.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Disposed Occurs after the XRControlStyle has been disposed of. Inherited from XRControlStyle.
See Also