Back to Devexpress

StylePriority Members

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

latest6.2 KB
Original Source

StylePriority Members

A container of settings that determine which properties of a style assigned to a control should override the corresponding properties of a control.

Constructors

NameDescription
StylePriority()Initializes a new instance of the StylePriority class with the default settings.

Properties

NameDescription
UseBackColorGets or sets a value indicating whether the control’s background color should be obtained from the XRControl.BackColor property, or from a style assigned to it.
UseBorderColorGets or sets a value indicating whether the control’s border color should be obtained from the XRControl.BorderColor property, or from a style assigned to it.
UseBorderDashStyleGets or sets a value indicating whether the control’s border dash style should be obtained from the XRControl.BorderDashStyle property, or from a style assigned to it.
UseBordersGets or sets a value indicating whether the control’s borders settings should be obtained from the XRControl.Borders property, or from a style assigned to it.
UseBorderWidthGets or sets a value indicating whether the control’s border width should be obtained from the XRControl.BorderWidth property, or from a style assigned to it.
UseFontGets or sets a value indicating whether the control’s font should be obtained from the XRControl.Font property, or from a style assigned to it.
UseForeColorGets or sets a value indicating whether the control’s foreground color should be obtained from the XRControl.ForeColor property, or from a style assigned to it.
UsePaddingGets or sets a value indicating whether the control’s padding should be obtained from the XRControl.Padding property, or from a style assigned to it.
UseTextAlignmentGets or sets a value indicating whether the control’s text alignment should be obtained from the XRControl.TextAlignment property, or from a style assigned to it.

Methods

NameDescription
Assign(StyleFlagsBase)Copies all the settings from the StyleFlagsBase object passed as the parameter. Inherited from StyleFlagsBase.
Clone()Creates a copy of the current StyleFlagsBase object. Inherited from StyleFlagsBase.
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 StyleFlagsBase instance. Inherited from StyleFlagsBase.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current StyleFlagsBase object. Inherited from StyleFlagsBase.
GetType()Gets the Type of the current instance. Inherited from Object.
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.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

StylePriority Class

DevExpress.XtraReports.UI Namespace