Class GridVisualStylesOffice2016
Implements the skin collection for ofice2016 theme(Black, White, DarkGray and Colorful).
Inheritance
System.Object
GridVisualStylesOffice2016
Inherited Members
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
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
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
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
Implements
System.IDisposable