C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonScroller

Layout a scroller button with appropriate separator space around it.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
Afficher le fichier Open project: Cocotteseb/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.

ViewLayoutRibbonScroller ( KryptonRibbon ribbon, VisualOrientation orientation, bool insetForTabs, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewLayoutRibbonScroller class.

Private Methods

Méthode Description
AdjustRectForTabs ( Rectangle rect ) : Rectangle
OnButtonClick ( object sender, MouseEventArgs e ) : void

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

ViewLayoutRibbonScroller() public méthode

Initialize a new instance of the ViewLayoutRibbonScroller class.
public ViewLayoutRibbonScroller ( KryptonRibbon ribbon, VisualOrientation orientation, bool insetForTabs, NeedPaintHandler needPaintDelegate ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
orientation VisualOrientation Scroller orientation.
insetForTabs bool Should scoller be inset for use in tabs area.
needPaintDelegate NeedPaintHandler Delegate for notifying paint/layout requests.
Résultat System