menu

WinForms

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

    Show / Hide Table of Contents

    Class SpreadsheetVisualStyle

    Represents the class to define the style for Syncfusion.Windows.Forms.Spreadsheet control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    SpreadsheetVisualStyle
    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.Spreadsheet
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public class SpreadsheetVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    SpreadsheetVisualStyle()

    Initializes a new instance of the SpreadsheetVisualStyle class.

    Declaration
    public SpreadsheetVisualStyle()

    SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity)

    Initializes a new instance of the SpreadsheetVisualStyle class.

    Declaration
    public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity identity)
    Parameters
    Type Name Description
    SpreadsheetVisualStyleInfoIdentity identity

    A SpreadsheetVisualStyleInfoIdentity that holds the identity for this SpreadsheetVisualStyleInfoStore.

    SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity, SpreadsheetVisualStyleInfoStore)

    Initializes a new instance of the SpreadsheetVisualStyle class.

    Declaration
    public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity identity, SpreadsheetVisualStyleInfoStore store)
    Parameters
    Type Name Description
    SpreadsheetVisualStyleInfoIdentity identity

    A SpreadsheetVisualStyleInfoIdentity that holds the identity for this SpreadsheetVisualStyleInfoStore.

    SpreadsheetVisualStyleInfoStore store

    Holds instance of a SpreadsheetVisualStyleInfoStore class

    SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoStore)

    Initializes a new instance of the SpreadsheetVisualStyle class.

    Declaration
    public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoStore store)
    Parameters
    Type Name Description
    SpreadsheetVisualStyleInfoStore store

    Holds instance of a SpreadsheetVisualStyleInfoStore class.

    Properties

    DefaultStyle

    Gets the default style value for the Spreadsheet control.

    Declaration
    public static SpreadsheetVisualStyle DefaultStyle { get; }
    Property Value
    Type
    SpreadsheetVisualStyle

    GridLineColor

    Gets or sets the color of grid lines.

    Declaration
    [ThemeStudio]
    public Color GridLineColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    HeaderStyle

    Gets or sets the value for SpreadsheetHeaderStyleInfo styles.

    Declaration
    [ThemeStudio]
    public SpreadsheetHeaderStyleInfo HeaderStyle { get; set; }
    Property Value
    Type
    SpreadsheetHeaderStyleInfo

    SelectionBackColor

    Gets or sets the color of selection color.

    Declaration
    [ThemeStudio]
    public Color SelectionBackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    SelectionBorderColor

    Gets or sets the color of selection border.

    Declaration
    [ThemeStudio]
    public Color SelectionBorderColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Methods

    CreateSubObjectIdentity(StyleInfoProperty)

    Declaration
    public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoProperty sip
    Returns
    Type
    StyleInfoSubObjectIdentity
    Overrides
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)

    GetDefaultStyle()

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type
    StyleInfoBase
    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