C# Класс System.Windows.Forms.ToolStrip

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
GetItemAt ( Point point ) : ToolStripItem
GetItemAt ( int x, int y ) : ToolStripItem
ToString ( ) : string
ToolStrip ( ) : System
ToolStrip ( ) : System.Drawing

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateControlsInstance() защищенный метод

protected CreateControlsInstance ( ) : ControlCollection
Результат ControlCollection

CreateDefaultItem() защищенный метод

protected CreateDefaultItem ( string text, Image image, EventHandler onClick ) : ToolStripItem
text string
image Image
onClick EventHandler
Результат ToolStripItem

CreateHandle() защищенный метод

protected CreateHandle ( ) : void
Результат void

Dispose() защищенный метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetItemAt() публичный метод

public GetItemAt ( Point point ) : ToolStripItem
point Point
Результат ToolStripItem

GetItemAt() публичный метод

public GetItemAt ( int x, int y ) : ToolStripItem
x int
y int
Результат ToolStripItem

IsInputChar() защищенный метод

protected IsInputChar ( char charCode ) : bool
charCode char
Результат bool

IsInputKey() защищенный метод

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Результат bool

OnDockChanged() защищенный метод

protected OnDockChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnEnabledChanged() защищенный метод

protected OnEnabledChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnFontChanged() защищенный метод

protected OnFontChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnHandleCreated() защищенный метод

protected OnHandleCreated ( EventArgs e ) : void
e EventArgs
Результат void

OnHandleDestroyed() защищенный метод

protected OnHandleDestroyed ( EventArgs e ) : void
e EventArgs
Результат void

OnInvalidated() защищенный метод

protected OnInvalidated ( System.Windows.Forms.InvalidateEventArgs e ) : void
e System.Windows.Forms.InvalidateEventArgs
Результат void

OnItemAdded() защищенный метод

protected OnItemAdded ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
e System.Windows.Forms.ToolStripItemEventArgs
Результат void

OnItemClicked() защищенный метод

protected OnItemClicked ( ToolStripItemClickedEventArgs e ) : void
e ToolStripItemClickedEventArgs
Результат void

OnItemRemoved() защищенный метод

protected OnItemRemoved ( System.Windows.Forms.ToolStripItemEventArgs e ) : void
e System.Windows.Forms.ToolStripItemEventArgs
Результат void

OnLayout() защищенный метод

protected OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
e System.Windows.Forms.LayoutEventArgs
Результат void

OnLayoutCompleted() защищенный метод

protected OnLayoutCompleted ( EventArgs e ) : void
e EventArgs
Результат void

OnLayoutStyleChanged() защищенный метод

protected OnLayoutStyleChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnLeave() защищенный метод

protected OnLeave ( EventArgs e ) : void
e EventArgs
Результат void

OnLostFocus() защищенный метод

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseCaptureChanged() защищенный метод

protected OnMouseCaptureChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseDown() защищенный метод

protected OnMouseDown ( MouseEventArgs mea ) : void
mea MouseEventArgs
Результат void

OnMouseLeave() защищенный метод

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseMove() защищенный метод

protected OnMouseMove ( MouseEventArgs mea ) : void
mea MouseEventArgs
Результат void

OnMouseUp() защищенный метод

protected OnMouseUp ( MouseEventArgs mea ) : void
mea MouseEventArgs
Результат void

OnPaint() защищенный метод

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

OnRendererChanged() защищенный метод

protected OnRendererChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnScroll() защищенный метод

protected OnScroll ( ScrollEventArgs se ) : void
se ScrollEventArgs
Результат void

OnTabStopChanged() защищенный метод

protected OnTabStopChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnVisibleChanged() защищенный метод

protected OnVisibleChanged ( EventArgs e ) : void
e EventArgs
Результат void

ProcessCmdKey() защищенный метод

protected ProcessCmdKey ( Message &m, Keys keyData ) : bool
m Message
keyData Keys
Результат bool

Select() защищенный метод

protected Select ( bool directed, bool forward ) : void
directed bool
forward bool
Результат void

SetBoundsCore() защищенный метод

protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int
y int
width int
height int
specified BoundsSpecified
Результат void

SetItemLocation() защищенный метод

protected SetItemLocation ( ToolStripItem item, Point location ) : void
item ToolStripItem
location Point
Результат void

SetItemParent() защищенный статический метод

protected static SetItemParent ( ToolStripItem item, ToolStrip parent ) : void
item ToolStripItem
parent ToolStrip
Результат void

ToString() публичный метод

public ToString ( ) : string
Результат string

ToolStrip() публичный метод

public ToolStrip ( ) : System
Результат System

ToolStrip() публичный метод

public ToolStrip ( ) : System.Drawing
Результат System.Drawing