menu

Document Processing

SpreadsheetVisualStyle Class - FileFormats API Reference | Syncfusion

    Show / Hide Table of Contents

    SpreadsheetVisualStyle Class

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

    Inheritance
    System.Object
    SpreadsheetVisualStyle
    Namespace: Syncfusion.Windows.Forms.Spreadsheet
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public class SpreadsheetVisualStyle : VisualStyleBase

    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
    public Color GridLineColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    HeaderStyle

    Gets or sets the value for SpreadsheetHeaderStyleInfo styles.

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

    SelectionBackColor

    Gets or sets the color of selection color.

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

    SelectionBorderColor

    Gets or sets the color of selection border.

    Declaration
    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
    Syncfusion.Styles.StyleInfoProperty sip
    Returns
    Type
    Syncfusion.Styles.StyleInfoSubObjectIdentity

    GetDefaultStyle()

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type
    Syncfusion.Styles.StyleInfoBase
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved