C# Class System.Windows.Forms.ToolStrip

Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
CalculateConnectedArea Rectangle
Dismiss void
Dismiss void
GetChildAtPoint Control
GetChildAtPoint Control
GetCurrentlySelectedItem ToolStripItem
GetPreferredSizeCore Size
GetToolStripPreferredSize Size
GetTopLevelToolStrip ToolStrip
HandleItemClick void
HideMenus void
NotifySelectedChanged void
OnBeginDrag void
OnEndDrag void
OnMenuKey bool
OnPaintBackground void
OnRightToLeftChanged void
ResetMinimumSize void
RestoreFocus void
SetAutoScrollMargin void

Public Methods

Method Description
GetItemAt ( Point point ) : ToolStripItem
GetItemAt ( int x, int y ) : ToolStripItem
ToString ( ) : string
ToolStrip ( ) : System
ToolStrip ( ) : System.Drawing

Protected Methods

Method Description
CreateControlsInstance ( ) : ControlCollection
CreateDefaultItem ( string text, Image image, EventHandler onClick ) : ToolStripItem
CreateHandle ( ) : void
Dispose ( bool disposing ) : void
IsInputChar ( char charCode ) : bool
IsInputKey ( Keys keyData ) : bool
OnDockChanged ( EventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnInvalidated ( System.Windows.Forms.InvalidateEventArgs e ) : void
OnItemAdded ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
OnItemClicked ( ToolStripItemClickedEventArgs e ) : void
OnItemRemoved ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
OnLayoutCompleted ( EventArgs e ) : void
OnLayoutStyleChanged ( EventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseCaptureChanged ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs mea ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs mea ) : void
OnMouseUp ( MouseEventArgs mea ) : void
OnPaint ( PaintEventArgs e ) : void
OnRendererChanged ( EventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void
OnTabStopChanged ( EventArgs e ) : void
OnVisibleChanged ( EventArgs e ) : void
ProcessCmdKey ( Message &m, Keys keyData ) : bool
Select ( bool directed, bool forward ) : void
SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
SetItemLocation ( ToolStripItem item, Point location ) : void
SetItemParent ( ToolStripItem item, ToolStrip parent ) : void

Private Methods

Method Description
CalculateConnectedArea ( ) : Rectangle
Dismiss ( ) : void
Dismiss ( ToolStripDropDownCloseReason reason ) : void
GetChildAtPoint ( Point point ) : Control
GetChildAtPoint ( Point pt, GetChildAtPointSkip skipValue ) : Control
GetCurrentlySelectedItem ( ) : ToolStripItem
GetPreferredSizeCore ( Size proposedSize ) : Size
GetToolStripPreferredSize ( Size proposedSize ) : Size
GetTopLevelToolStrip ( ) : ToolStrip
HandleItemClick ( ToolStripItem dismissingItem ) : void
HideMenus ( bool release, ToolStripDropDownCloseReason reason ) : void
NotifySelectedChanged ( ToolStripItem tsi ) : void
OnBeginDrag ( EventArgs e ) : void
OnEndDrag ( EventArgs e ) : void
OnMenuKey ( ) : bool
OnPaintBackground ( PaintEventArgs e ) : void
OnRightToLeftChanged ( EventArgs e ) : void
ResetMinimumSize ( ) : void
RestoreFocus ( ) : void
SetAutoScrollMargin ( int x, int y ) : void

Method Details

CreateControlsInstance() protected method

protected CreateControlsInstance ( ) : ControlCollection
return ControlCollection

CreateDefaultItem() protected method

protected CreateDefaultItem ( string text, Image image, EventHandler onClick ) : ToolStripItem
text string
image Image
onClick EventHandler
return ToolStripItem

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetItemAt() public method

public GetItemAt ( Point point ) : ToolStripItem
point Point
return ToolStripItem

GetItemAt() public method

public GetItemAt ( int x, int y ) : ToolStripItem
x int
y int
return ToolStripItem

IsInputChar() protected method

protected IsInputChar ( char charCode ) : bool
charCode char
return bool

IsInputKey() protected method

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

OnDockChanged() protected method

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

OnEnabledChanged() protected method

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

OnFontChanged() protected method

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

OnHandleCreated() protected method

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

OnHandleDestroyed() protected method

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

OnInvalidated() protected method

protected OnInvalidated ( System.Windows.Forms.InvalidateEventArgs e ) : void
e System.Windows.Forms.InvalidateEventArgs
return void

OnItemAdded() protected method

protected OnItemAdded ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
e System.Windows.Forms.ToolStripItemEventArgs
return void

OnItemClicked() protected method

protected OnItemClicked ( ToolStripItemClickedEventArgs e ) : void
e ToolStripItemClickedEventArgs
return void

OnItemRemoved() protected method

protected OnItemRemoved ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
e System.Windows.Forms.ToolStripItemEventArgs
return void

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
e System.Windows.Forms.LayoutEventArgs
return void

OnLayoutCompleted() protected method

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

OnLayoutStyleChanged() protected method

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

OnLeave() protected method

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

OnLostFocus() protected method

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

OnMouseCaptureChanged() protected method

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

OnMouseDown() protected method

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

OnMouseLeave() protected method

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

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs mea ) : void
mea MouseEventArgs
return void

OnMouseUp() protected method

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

OnPaint() protected method

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

OnRendererChanged() protected method

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

OnScroll() protected method

protected OnScroll ( ScrollEventArgs se ) : void
se ScrollEventArgs
return void

OnTabStopChanged() protected method

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

OnVisibleChanged() protected method

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

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &m, Keys keyData ) : bool
m Message
keyData Keys
return bool

Select() protected method

protected Select ( bool directed, bool forward ) : void
directed bool
forward bool
return void

SetBoundsCore() protected method

protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int
y int
width int
height int
specified BoundsSpecified
return void

SetItemLocation() protected method

protected SetItemLocation ( ToolStripItem item, Point location ) : void
item ToolStripItem
location Point
return void

SetItemParent() protected static method

protected static SetItemParent ( ToolStripItem item, ToolStrip parent ) : void
item ToolStripItem
parent ToolStrip
return void

ToString() public method

public ToString ( ) : string
return string

ToolStrip() public method

public ToolStrip ( ) : System
return System

ToolStrip() public method

public ToolStrip ( ) : System.Drawing
return System.Drawing