C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonCenterPadding

View element adds padding to the contained elements and positions all elements centered.
Inheritance: ViewLayoutRibbonCenter
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
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.

ViewLayoutRibbonCenterPadding ( Padding preferredPadding ) : System

Initialize a new instance of the ViewLayoutRibbonGroupImage class.

Method Details

GetPreferredSize() public méthode

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

Layout() public méthode

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

ToString() public méthode

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

ViewLayoutRibbonCenterPadding() public méthode

Initialize a new instance of the ViewLayoutRibbonGroupImage class.
public ViewLayoutRibbonCenterPadding ( Padding preferredPadding ) : System
preferredPadding Padding Padding to use when calculating space.
Résultat System