menu

WinForms

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

    Show / Hide Table of Contents

    Class GridVisualStylesOffice2016

    Implements the skin collection for ofice2016 theme(Black, White, DarkGray and Colorful).

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridMetroStyle
    GridVisualStylesOffice2016
    Implements
    System.IDisposable
    IVisualStylesDrawing
    IThemeStyle
    Inherited Members
    GridMetroStyle.DrawCheckBoxStyle(Graphics, Rectangle, ButtonState, Boolean)
    GridMetroStyle.DrawCheckBoxStyle(Graphics, Rectangle, ButtonState, Boolean, Boolean)
    GridMetroStyle.DrawHeaderStyle(Graphics, Rectangle, ThemedHeaderDrawing.HeaderState)
    GridMetroStyle.DrawPushButtonStyle(Graphics, Rectangle, ButtonState)
    GridMetroStyle.GetGroupDropAreaColors(Color, Color, Color)
    GridMetroStyle.GetHeaderBorderColors(Color, Color, Color, Color)
    GridMetroStyle.GetHeaderBottomBorderStyle(Color, GridBottomBorderWeight)
    GridMetroStyle.GetHeaderColors(Color, Color, Color)
    GridMetroStyle.GetHeaderTextColors(Color, Color, Color)
    GridMetroStyle.GetSortIconBrush(Brush, Pen)
    GridMetroStyle.ThemeName
    GridMetroStyle.VisualStyle
    NonFinalizeDisposable.Dispose()
    NonFinalizeDisposable.Dispose(Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class GridVisualStylesOffice2016 : GridMetroStyle, IDisposable, IVisualStylesDrawing, IThemeStyle

    Constructors

    GridVisualStylesOffice2016(GridVisualStyles, GridOffice2016ThemeColors)

    Initialize a new instance of GridVisualStylesOffice2016 class.

    Declaration
    public GridVisualStylesOffice2016(GridVisualStyles style, GridOffice2016ThemeColors office2016Color)
    Parameters
    Type Name Description
    GridVisualStyles style
    GridOffice2016ThemeColors office2016Color

    Properties

    SkinCollection

    Intialize the skin collection based on the grid visual styles.

    Declaration
    public override GridMetroColors SkinCollection { get; }
    Property Value
    Type
    GridMetroColors
    Overrides
    GridMetroStyle.SkinCollection

    Methods

    DrawComboBoxStyle(Graphics, Rectangle, ThemedComboBoxDrawing.DropDownState, Color)

    Draws the ComboBox skins

    Declaration
    public override void DrawComboBoxStyle(Graphics g, Rectangle rect, ThemedComboBoxDrawing.DropDownState state, Color clrBack)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object.

    System.Drawing.Rectangle rect

    A System.Drawing.Rectangle object that represents the drawing area.

    ThemedComboBoxDrawing.DropDownState state

    The current state of the combo button.

    System.Drawing.Color clrBack
    Overrides
    GridMetroStyle.DrawComboBoxStyle(Graphics, Rectangle, ThemedComboBoxDrawing.DropDownState, Color)

    DrawRadioStyle(Graphics, Rectangle, ButtonState)

    Draws the ComboBox skins

    Declaration
    public override void DrawRadioStyle(Graphics g, Rectangle rect, ButtonState state)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object.

    System.Drawing.Rectangle rect

    A System.Drawing.Rectangle object that represents the drawing area.

    System.Windows.Forms.ButtonState state

    The current state of the combo button.

    Overrides
    GridMetroStyle.DrawRadioStyle(Graphics, Rectangle, ButtonState)

    DrawSpinButtonStyle(Graphics, Rectangle, ButtonID, ButtonState, Color)

    Draws the SpinButton skins

    Declaration
    public override void DrawSpinButtonStyle(Graphics g, Rectangle rect, ButtonID btnId, ButtonState btnState, Color clrBack)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object.

    System.Drawing.Rectangle rect

    A System.Drawing.Rectangle object that represents the drawing area.

    ButtonID btnId

    An integer that represents the type of the button.

    System.Windows.Forms.ButtonState btnState

    The current state of the spin button.

    System.Drawing.Color clrBack
    Overrides
    GridMetroStyle.DrawSpinButtonStyle(Graphics, Rectangle, ButtonID, ButtonState, Color)

    Implements

    System.IDisposable
    IVisualStylesDrawing
    IThemeStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved