C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonGalleryItems

View element that creates and lays out the gallery items.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
Show file Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
BringIntoView ( int index ) : void

Bring the specified image index into view.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

NextLine ( ) : void

Scroll to make the next line visible.

PrevLine ( ) : void

Scroll to make the previous line visible.

SyncChildren ( ) : void
ToString ( ) : string

Obtains the String representation of this instance.

TrackMoveDown ( ) : void

Move tracking down one line.

TrackMoveEnd ( ) : void

Move tracking to the last item.

TrackMoveHome ( ) : void

Move tracking to the first item.

TrackMoveLeft ( ) : void

Move tracking down left one item.

TrackMovePageDown ( ) : void

Move tracking downwards by a whole page.

TrackMovePageUp ( ) : void

Move tracking upwards by a whole page.

TrackMoveRight ( ) : void

Move tracking down right one item.

TrackMoveUp ( ) : void

Move tracking up one line.

ViewLayoutRibbonGalleryItems ( IPalette palette, ComponentFactory.Krypton.Ribbon.KryptonGallery gallery, NeedPaintHandler needPaint, ViewDrawRibbonGalleryButton buttonUp, ViewDrawRibbonGalleryButton buttonDown, ViewDrawRibbonGalleryButton buttonContext ) : System

Initialize a new instance of the ViewLayoutRibbonGalleryItems class.

Private Methods

Method Description
OnButtonContext ( object sender, MouseEventArgs e ) : void
OnButtonDown ( object sender, MouseEventArgs e ) : void
OnButtonUp ( object sender, MouseEventArgs e ) : void
OnScrollTick ( object sender, EventArgs e ) : void
ProcessBringIntoView ( ) : void

Method Details

BringIntoView() public method

Bring the specified image index into view.
public BringIntoView ( int index ) : void
index int Index to bring into view.
return void

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

NextLine() public method

Scroll to make the next line visible.
public NextLine ( ) : void
return void

PrevLine() public method

Scroll to make the previous line visible.
public PrevLine ( ) : void
return void

SyncChildren() public method

public SyncChildren ( ) : void
return void

ToString() public method

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

TrackMoveDown() public method

Move tracking down one line.
public TrackMoveDown ( ) : void
return void

TrackMoveEnd() public method

Move tracking to the last item.
public TrackMoveEnd ( ) : void
return void

TrackMoveHome() public method

Move tracking to the first item.
public TrackMoveHome ( ) : void
return void

TrackMoveLeft() public method

Move tracking down left one item.
public TrackMoveLeft ( ) : void
return void

TrackMovePageDown() public method

Move tracking downwards by a whole page.
public TrackMovePageDown ( ) : void
return void

TrackMovePageUp() public method

Move tracking upwards by a whole page.
public TrackMovePageUp ( ) : void
return void

TrackMoveRight() public method

Move tracking down right one item.
public TrackMoveRight ( ) : void
return void

TrackMoveUp() public method

Move tracking up one line.
public TrackMoveUp ( ) : void
return void

ViewLayoutRibbonGalleryItems() public method

Initialize a new instance of the ViewLayoutRibbonGalleryItems class.
public ViewLayoutRibbonGalleryItems ( IPalette palette, ComponentFactory.Krypton.Ribbon.KryptonGallery gallery, NeedPaintHandler needPaint, ViewDrawRibbonGalleryButton buttonUp, ViewDrawRibbonGalleryButton buttonDown, ViewDrawRibbonGalleryButton buttonContext ) : System
palette IPalette Reference to palette for display values.
gallery ComponentFactory.Krypton.Ribbon.KryptonGallery Reference to owning gallery.
needPaint NeedPaintHandler Delegate for requesting paints.
buttonUp ViewDrawRibbonGalleryButton Reference to the up button.
buttonDown ViewDrawRibbonGalleryButton Reference to the down button.
buttonContext ViewDrawRibbonGalleryButton Reference to the context button.
return System