Skip to main content

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

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

Properties

Name Description
UseBackColor Gets 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.
UseBorderColor Gets 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.
UseBorderDashStyle Gets 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.
UseBorders Gets 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.
UseBorderWidth Gets 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.
UseFont Gets 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.
UseForeColor Gets 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.
UsePadding Gets 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.
UseTextAlignment Gets 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

Name Description
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) 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 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() 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.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also