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

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

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

Метод Описание
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuImageCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, int columnIndex, bool zeroHeight ) : System

Initialize a new instance of the ViewDrawMenuImageCanvas class.

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

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

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Результат System.Drawing.Size

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

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Результат void

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

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
Результат void

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

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

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

Initialize a new instance of the ViewDrawMenuImageCanvas class.
public ViewDrawMenuImageCanvas ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, int columnIndex, bool zeroHeight ) : System
paletteBack IPaletteBack Palette source for the background.
paletteBorder IPaletteBorder Palette source for the border.
columnIndex int Menu item column index.
zeroHeight bool Should the height be forced to zero.
Результат System