Class RatingControlVisualStyle
Represents a class to define style for the RatingControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RatingControlVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
RatingControlVisualStyle()
Initializes a new instance of the RatingControlVisualStyle class.
Declaration
public RatingControlVisualStyle()
RatingControlVisualStyle(RatingControlStyleInfoIdentity)
Initializes a new instance of the RatingControlVisualStyle class.
Declaration
public RatingControlVisualStyle(RatingControlStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
RatingControlStyleInfoIdentity | identity | A RatingControlStyleInfoIdentity that holds the identity for this RatingControlStyleInfoStore. |
RatingControlVisualStyle(RatingControlStyleInfoIdentity, RatingControlStyleInfoStore)
Initializes a new instance of the RatingControlVisualStyle class.
Declaration
public RatingControlVisualStyle(RatingControlStyleInfoIdentity identity, RatingControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
RatingControlStyleInfoIdentity | identity | A RatingControlStyleInfoIdentity that holds the identity for this RatingControlStyleInfoStore. |
RatingControlStyleInfoStore | store | Holds instance of a RatingControlStyleInfoStore class |
RatingControlVisualStyle(RatingControlStyleInfoStore)
Initializes a new instance of the RatingControlVisualStyle class.
Declaration
public RatingControlVisualStyle(RatingControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
RatingControlStyleInfoStore | store | Holds instance of a RatingControlStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the back color of the RatingControl. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the border color of the RatingControl. The default value is null. |
BorderThickness
Declaration
[ThemeStudio]
public int BorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default style value for the RatingControl.
Declaration
public static RatingControlVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
RatingControlVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled back color of the RatingControl. The default value is null. |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled border color of the RatingControl. The default value is null. |
DisabledItemBackColor
Gets or sets the System.Drawing.Color value used to draw the item's back color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledItemBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled item's back color of the RatingControl. The default value is null. |
DisabledItemBorderColor
Gets or sets the System.Drawing.Color value used to draw the item's border color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledItemBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled item's border color of the RatingControl. The default value is null. |
DisabledItemSelectionBackColor
Gets or sets the System.Drawing.Color value used to draw the item's selection back color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledItemSelectionBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled item's selection back color of the RatingControl. The default value is null. |
DisabledItemSelectionBorderColor
Gets or sets the System.Drawing.Color value used to draw the item's selection border color of the RatingControl in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledItemSelectionBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled item's selection border color of the RatingControl. The default value is null. |
HoverItemBackColor
Gets or sets the System.Drawing.Color value used to draw the item's hover back color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color HoverItemBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's hover back color of the RatingControl. The default value is null. |
HoverItemBorderColor
Gets or sets the System.Drawing.Color value used to draw the item's hover border color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color HoverItemBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's hover border color of the RatingControl. The default value is null. |
ItemBackColor
Gets or sets the System.Drawing.Color value used to draw the item's back color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color ItemBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's back color of the RatingControl. The default value is null. |
ItemBorderColor
Gets or sets the System.Drawing.Color value used to draw the item's border color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color ItemBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's border color of the RatingControl. The default value is null. |
ItemBorderThickness
Declaration
[ThemeStudio]
public int ItemBorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
ItemSelectionBackColor
Gets or sets the System.Drawing.Color value used to draw the item's selection back color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color ItemSelectionBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's selection back color of the RatingControl. The default value is null. |
ItemSelectionBorderColor
Gets or sets the System.Drawing.Color value used to draw the item's selection border color of the RatingControl in the default state.
Declaration
[ThemeStudio]
public Color ItemSelectionBorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the item's selection border color of the RatingControl. The default value is null. |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |