C# Class ComponentFactory.Krypton.Toolkit.ViewDecoratorFixedSize

Override the contained child to present a fixed size.
Inheritance: ViewDecorator
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode 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 méthode

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

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDecoratorFixedSize() public méthode

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