C# Class ComponentFactory.Krypton.Toolkit.ViewDecoratorFixedSize

Override the contained child to present a fixed size.
Inheritance: ViewDecorator
ファイルを表示 Open project: ComponentFactory/Krypton

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDecoratorFixedSize ( ViewBase child, Size fixedSize ) : System

Initialize a new instance of the ViewBase class.

Method Details

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
return System.Drawing.Size

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDecoratorFixedSize() public method

Initialize a new instance of the ViewBase class.
public ViewDecoratorFixedSize ( ViewBase child, Size fixedSize ) : System
child ViewBase
fixedSize System.Drawing.Size
return System