menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GradientPanelVisualStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GradientPanelVisualStyle

    Represents a class to define the style for the GradientPanel control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    GradientPanelVisualStyle
    GradientPanelExtVisualStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.Dispose()
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    VisualStyleBase.UpdateStyles(IThemeProvider)
    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
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)

    GetDefaultStyle()

    Gets the default style value of the class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    VisualStyleBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved