C# Класс ComponentFactory.Krypton.Toolkit.KryptonContextMenuItems

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

Private Properties

Свойство Тип Описание
SetPaletteRedirect void
ShouldSerializeStateNormal bool
this KryptonContextMenuItemBase

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

Метод Описание
GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase

Returns a view appropriate for this item based on the object it is inside.

KryptonContextMenuItems ( ) : System

Initialize a new instance of the KryptonContextMenuItems class.

KryptonContextMenuItems ( KryptonContextMenuItemBase children ) : System

Initialize a new instance of the KryptonContextMenuItems class.

ProcessShortcut ( Keys keyData ) : bool

Test for the provided shortcut and perform relevant action if a match is found.

ToString ( ) : string

Returns a description of the instance.

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

Метод Описание
SetPaletteRedirect ( PaletteDoubleRedirect redirector ) : void
ShouldSerializeStateNormal ( ) : bool
this ( int index ) : KryptonContextMenuItemBase

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

GenerateView() публичный Метод

Returns a view appropriate for this item based on the object it is inside.
public GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase
provider IContextMenuProvider Provider of context menu information.
parent object Owning object reference.
columns ViewLayoutStack Containing columns.
standardStyle bool Draw items with standard or alternate style.
imageColumn bool Draw an image background for the item images.
Результат ViewBase

KryptonContextMenuItems() публичный Метод

Initialize a new instance of the KryptonContextMenuItems class.
public KryptonContextMenuItems ( ) : System
Результат System

KryptonContextMenuItems() публичный Метод

Initialize a new instance of the KryptonContextMenuItems class.
public KryptonContextMenuItems ( KryptonContextMenuItemBase children ) : System
children KryptonContextMenuItemBase Array of initial child items.
Результат System

ProcessShortcut() публичный Метод

Test for the provided shortcut and perform relevant action if a match is found.
public ProcessShortcut ( Keys keyData ) : bool
keyData Keys Key data to check against shorcut definitions.
Результат bool

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

Returns a description of the instance.
public ToString ( ) : string
Результат string