Class ThemedCheckButton
Draws a themed check button.
Inheritance
System.Object
ThemedCheckButton
Implements
System.IDisposable
Assembly: Syncfusion.Shared.Base.dll
public class ThemedCheckButton : ThemedButtonBase, IThemeProvider, IVisualStyle, IDisposable
Constructors
Initializes a new object.
Declaration
public ThemedCheckButton()
Properties
Indicates the checked state of the button.
Declaration
public bool Checked { get; set; }
Property Value
Gets or setsthe metrocolor.
Declaration
public Color MetroColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public bool Selected { get; set; }
Property Value
Methods
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected override void DrawNotThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Declaration
protected override void DrawStyledControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Declaration
protected override void DrawThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
System.Windows.Forms.ButtonState |
buttonState |
|
System.Windows.Forms.CheckState |
checkState |
|
Overrides
Implements
System.IDisposable