Back to Devexpress

XRControlStyle Members

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcontrolstyle-dot-underscore-members.md

latest16.7 KB
Original Source

XRControlStyle Members

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

Constructors

NameDescription
XRControlStyle()Initializes a new instance of the XRControlStyle class with the default settings.
XRControlStyle(XRControlStyle)Initializes a new instance of the XRControlStyle class and copies the settings from the object passed as the parameter.
XRControlStyle(Color, Color, BorderSide, Single, DXFont, Color, TextAlignment, PaddingInfo, BorderDashStyle)Initializes a new instance of the XRControlStyle class with specified settings.
XRControlStyle(Color, Color, BorderSide, Single, DXFont, Color, TextAlignment, PaddingInfo)Initializes a new instance of the XRControlStyle class with specified settings.
XRControlStyle(Color, Color, BorderSide, Single, DXFont, Color, TextAlignment)Initializes a new instance of the XRControlStyle class with specified settings.
XRControlStyle(Single)Initializes a new instance of the XRControlStyle class with the specified dpi value.

Fields

NameDescription
Default staticRepresents an XRControlStyle object with all its style properties set to their default values.

Properties

NameDescription
BackColorGets or sets the background color stored in this style.
BorderColorGets or sets the border color stored in this style.
BorderDashStyleGets or sets the border dash style stored in this style.
BordersSpecifies a set of borders (top, right, bottom, left) that should be visible for the control.
BorderStyleOverrides the BrickStyle.BorderStyle property.
BorderWidthSpecifies the border width, in floating point values.
BorderWidthSerializableGets or sets the string value used to support serialization of the BrickStyle.BorderWidth property. Inherited from BrickStyle.
ContainerGets the container of this control style object.
DefaultFont staticGets the default font for a brick style. Inherited from BrickStyle.
FontGets or sets the font stored in this style.
ForeColorGets or sets the foreground color stored in this style.
IsDisposedFor internal use. Gets a value indicating whether the control has been disposed of.
IsJustifiedSpecifies whether or not the brick’s alignment is justified. Inherited from BrickStyle.
IsTransparentGets a value indicating whether the brick style paints a transparent brick. Inherited from BrickStyle.
NameGets or sets the control style name.
PaddingGets or sets the padding stored in this style.
SidesOverrides the BrickStyle.Sides property.
SiteGets or sets the site associated with this control style.
StringFormatOverrides the BrickStyle.StringFormat property.
StyleUsingGets the object that determines which of the current style’s properties are used by the current XRControl object.
TextAlignmentGets or sets the text alignment stored in this style.

Methods

NameDescription
ChangeAlignment(TextAlignment)Inherited from BrickStyle.
Clone()Creates a copy of the current XRControlStyle object.
CreateDefault() staticCreates the BrickStyle instance with the defaul settings. Inherited from BrickStyle.
DeflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) staticDeflates 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) staticDeflates 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) staticDetermines 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.
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, BrickBorderStyle) staticInflates the specified rectangle by the specified width of specified borders using the specified border style. Inherited from BrickStyle.
InflateBorderWidth(RectangleF, BorderSide, Single) staticInflates 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
DisposedOccurs after the XRControlStyle has been disposed of.

See Also

XRControlStyle Class

DevExpress.XtraReports.UI Namespace