C# Class ComponentFactory.Krypton.Navigator.ViewLayoutPageShow

View element that can track the size and position of the selected page.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLayoutNull
ファイルを表示 Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetMinimumAsPreferred ( bool minimum ) : void

Sets if the minimum size should be used instead of preferred.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutPageShow ( KryptonNavigator navigator ) : System

Initialize a new instance of the ViewLayoutPageShow class.

Method Details

GetPreferredSize() public method

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

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return void

SetMinimumAsPreferred() public method

Sets if the minimum size should be used instead of preferred.
public SetMinimumAsPreferred ( bool minimum ) : void
minimum bool Should minimum be used instead of preferred.
return void

ToString() public method

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

ViewLayoutPageShow() public method

Initialize a new instance of the ViewLayoutPageShow class.
public ViewLayoutPageShow ( KryptonNavigator navigator ) : System
navigator KryptonNavigator
return System