Class GradientPanelVisualStyle
Represents a class to define the style for the GradientPanel control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class GradientPanelVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GradientPanelVisualStyle()
Initializes a new instance of the GradientPanelVisualStyle class.
Declaration
public GradientPanelVisualStyle()
GradientPanelVisualStyle(GradientPanelStyleInfoIdentity)
Initializes a new instance of the GradientPanelVisualStyle class.
Declaration
public GradientPanelVisualStyle(GradientPanelStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
GradientPanelStyleInfoIdentity | identity | A GradientPanelStyleInfoIdentity that holds the identity for this GradientPanelStyleInfoStore. |
GradientPanelVisualStyle(GradientPanelStyleInfoIdentity, GradientPanelStyleInfoStore)
Initializes a new instance of the GradientPanelVisualStyle class.
Declaration
public GradientPanelVisualStyle(GradientPanelStyleInfoIdentity identity, GradientPanelStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GradientPanelStyleInfoIdentity | identity | A GradientPanelStyleInfoIdentity that holds the identity for this GradientPanelStyleInfoStore. |
GradientPanelStyleInfoStore | store | Holds instance of a GradientPanelStyleInfoStore class |
GradientPanelVisualStyle(GradientPanelStyleInfoStore)
Initializes a new instance of the GradientPanelVisualStyle class.
Declaration
public GradientPanelVisualStyle(GradientPanelStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GradientPanelStyleInfoStore | store | Holds instance of a GradientPanelStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the GradientPanel control 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 GradientPanel. The default value is null. |
BorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the GradientPanel control 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 GradientPanel. The default value is null. |
BorderThickness
Gets or sets the System.Int32 value used to draw the border thickness of the GradientPanelExt control.
Declaration
[ThemeStudio]
public int BorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The System.Int32 value is used to draw the border thickness of the GradientPanel. |
DefaultStyle
Gets the default style value for the GradientPanel control.
Declaration
public static GradientPanelVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
GradientPanelVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the GradientPanel control 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 GradientPanel. The default value is null. |
DisabledBorderColor
Gets or sets the System.Drawing.Color value used to draw the border color of the GradientPanel control 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 GradientPanel. 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 class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |