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

View element that draws nothing and will use a padding around the children.
Наследование: ViewComposite
Показать файл Открыть проект

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

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

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutPadding ( ) : System

Initialize a new instance of the ViewLayoutPadding class.

ViewLayoutPadding ( Padding displayPadding ) : System

Initialize a new instance of the ViewLayoutPadding class.

ViewLayoutPadding ( Padding displayPadding, ViewBase child ) : System

Initialize a new instance of the ViewLayoutPadding 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

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

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

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

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

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

Initialize a new instance of the ViewLayoutPadding class.
public ViewLayoutPadding ( Padding displayPadding ) : System
displayPadding Padding Padding to use around area.
Результат System

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

Initialize a new instance of the ViewLayoutPadding class.
public ViewLayoutPadding ( Padding displayPadding, ViewBase child ) : System
displayPadding Padding Padding to use around area.
child ViewBase Child to add into view hierarchy.
Результат System