WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IThemeStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IThemeStyle

    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public interface IThemeStyle

    Properties

    VisualStyle

    Gets the current VisualStyles.

    Declaration
    GridVisualStyles VisualStyle { get; }
    Property Value
    Type Description
    GridVisualStyles

    Methods

    GetHeaderBottomBorderStyle(out Color, out GridBottomBorderWeight)

    Returns the Header Border styles.

    Declaration
    bool GetHeaderBottomBorderStyle(out Color clrHeaderBottom, out GridBottomBorderWeight borderWeight)
    Parameters
    Type Name Description
    System.Drawing.Color clrHeaderBottom

    The bottom border color of header.

    GridBottomBorderWeight borderWeight

    The bottom border weight.

    Returns
    Type Description
    System.Boolean

    returns the weight and color of bottom border.

    GetHeaderColors(out Color, out Color, out Color)

    Header style color of Grid

    Declaration
    bool GetHeaderColors(out Color backColor, out Color hoverColor, out Color pressedColor)
    Parameters
    Type Name Description
    System.Drawing.Color backColor

    Header color

    System.Drawing.Color hoverColor

    hover color

    System.Drawing.Color pressedColor

    pressed color

    Returns
    Type Description
    System.Boolean

    true

    GetHeaderTextColors(out Color, out Color, out Color)

    header style text color

    Declaration
    bool GetHeaderTextColors(out Color normalTextColor, out Color hoverTextColor, out Color pressedTextColor)
    Parameters
    Type Name Description
    System.Drawing.Color normalTextColor

    Normal text color

    System.Drawing.Color hoverTextColor

    hover text color

    System.Drawing.Color pressedTextColor

    pressed text color

    Returns
    Type Description
    System.Boolean

    true

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved