C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonScrollPort

Sizes and positions a provided view but provides scrolling if too big for area.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
OnChildWndProcHitTest void
OnFarClick void
OnNearClick void
OnViewControlPaintBackground void
ScrollIntoView bool

Public Methods

Method Description
GetFirstFocusItem ( ) : ViewBase

Gets the first focus item within the scroll port.

GetGroupKeyTips ( ) : KeyTipInfo[]

Gets the array of group level key tips.

GetLastFocusItem ( ) : ViewBase

Gets the last focus item within the scroll port.

GetNextFocusItem ( ViewBase current ) : ViewBase

Gets the next focus item based on the current item as provided.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetPreviousFocusItem ( ViewBase current ) : ViewBase

Gets the previous focus item based on the current item as provided.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

Render ( RenderContext context ) : void

Perform a render of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutRibbonScrollPort ( KryptonRibbon ribbon, Orientation orientation, ViewBase viewFiller, bool insetForTabs, int scrollSpeed, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewLayoutRibbonScrollPort class.

Private Methods

Method Description
OnChildWndProcHitTest ( object sender, ViewControlHitTestArgs e ) : void
OnFarClick ( object sender, EventArgs e ) : void
OnNearClick ( object sender, EventArgs e ) : void
OnViewControlPaintBackground ( object sender, PaintEventArgs e ) : void
ScrollIntoView ( Rectangle rect, bool paint ) : bool

Method Details

GetFirstFocusItem() public method

Gets the first focus item within the scroll port.
public GetFirstFocusItem ( ) : ViewBase
return ViewBase

GetGroupKeyTips() public method

Gets the array of group level key tips.
public GetGroupKeyTips ( ) : KeyTipInfo[]
return KeyTipInfo[]

GetLastFocusItem() public method

Gets the last focus item within the scroll port.
public GetLastFocusItem ( ) : ViewBase
return ViewBase

GetNextFocusItem() public method

Gets the next focus item based on the current item as provided.
public GetNextFocusItem ( ViewBase current ) : ViewBase
current ViewBase The view that is currently focused.
return ViewBase

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

GetPreviousFocusItem() public method

Gets the previous focus item based on the current item as provided.
public GetPreviousFocusItem ( ViewBase current ) : ViewBase
current ViewBase The view that is currently focused.
return ViewBase

Layout() public method

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

Render() public method

Perform a render of the elements.
public Render ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
return void

ToString() public method

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

ViewLayoutRibbonScrollPort() public method

Initialize a new instance of the ViewLayoutRibbonScrollPort class.
public ViewLayoutRibbonScrollPort ( KryptonRibbon ribbon, Orientation orientation, ViewBase viewFiller, bool insetForTabs, int scrollSpeed, NeedPaintHandler needPaintDelegate ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
orientation Orientation Viewport orientation.
viewFiller ViewBase View to size and position.
insetForTabs bool Should scoller be inset for use in tabs area.
scrollSpeed int Scrolling speed.
needPaintDelegate NeedPaintHandler Delegate for notifying paint/layout requests.
return System