C# Class Microsoft.Samples.SplitButton

Inheritance: Button
Show file Open project: nithinphilips/SMOz

Private Properties

Property Type Description
ContextMenuStrip_Closing void
PaintArrow void
SetButtonDrawState void
ShowContextMenuStrip void

Public Methods

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

Protected Methods

Method Description
IsInputKey ( Keys keyData ) : bool
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs kevent ) : void
OnKeyUp ( KeyEventArgs kevent ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs mevent ) : void
OnPaint ( PaintEventArgs pevent ) : void

Private Methods

Method Description
ContextMenuStrip_Closing ( object sender, ToolStripDropDownClosingEventArgs e ) : void
PaintArrow ( Graphics g, Rectangle dropDownRect ) : void
SetButtonDrawState ( ) : void
ShowContextMenuStrip ( ) : void

Method Details

GetPreferredSize() public method

public GetPreferredSize ( Size proposedSize ) : Size
proposedSize Size
return Size

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnGotFocus() protected method

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

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs kevent ) : void
kevent KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs kevent ) : void
kevent KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e 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 mevent ) : void
mevent MouseEventArgs
return void

OnPaint() protected method

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

SplitButton() public method

public SplitButton ( ) : System
return System