C# Class YamuiFramework.Controls.YamuiButton

Inheritance: System.Windows.Forms.Button
Mostrar archivo Open project: jcaillon/3P Class Usage Examples

Public Properties

Property Type Description
IsFocused bool
IsHovered bool
IsPressed bool

Private Properties

Property Type Description
OnButtonPressed void

Public Methods

Method Description
HandlePressedButton ( ) : void

Call this method to activate the OnPressedButton event manually

YamuiButton ( ) : System

Protected Methods

Method Description
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
OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
PaintTransparentBackground ( Graphics graphics, Rectangle clipRect ) : void

Private Methods

Method Description
OnButtonPressed ( EventArgs eventArgs ) : void

Method Details

HandlePressedButton() public method

Call this method to activate the OnPressedButton event manually
public HandlePressedButton ( ) : void
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 EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e 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

OnPreviewKeyDown() protected method

protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e PreviewKeyDownEventArgs
return void

PaintTransparentBackground() protected method

protected PaintTransparentBackground ( Graphics graphics, Rectangle clipRect ) : void
graphics Graphics
clipRect Rectangle
return void

YamuiButton() public method

public YamuiButton ( ) : System
return System

Property Details

IsFocused public_oe property

public bool IsFocused
return bool

IsHovered public_oe property

public bool IsHovered
return bool

IsPressed public_oe property

public bool IsPressed
return bool