C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonScroller

Layout a scroller button with appropriate separator space around it.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
ファイルを表示 Open project: Cocotteseb/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.

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

Method Description
AdjustRectForTabs ( Rectangle rect ) : Rectangle
OnButtonClick ( object sender, MouseEventArgs e ) : void

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

ToString() public method

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

ViewLayoutRibbonScroller() public method

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.
return System