C# Class MetroFramework.Controls.MetroToggle

Inheritance: System.Windows.Forms.CheckBox, IMetroControl
Datei anzeigen Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetPreferredSize ( Size proposedSize ) : Size
MetroToggle ( ) : System

Protected Methods

Method Description
OnCheckedChanged ( EventArgs e ) : void
OnCustomPaint ( MetroPaintEventArgs e ) : void
OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPaintForeground ( PaintEventArgs e ) : void

Method Details

GetPreferredSize() public method

public GetPreferredSize ( Size proposedSize ) : Size
proposedSize System.Drawing.Size
return System.Drawing.Size

MetroToggle() public method

public MetroToggle ( ) : System
return System

OnCheckedChanged() protected method

protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnCustomPaint() protected method

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintBackground() protected method

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintForeground() protected method

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnEnabledChanged() protected method

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintForeground() protected method

protected OnPaintForeground ( PaintEventArgs e ) : void
e PaintEventArgs
return void