C# Class ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonGalleryItems

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

Méthodes publiques

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

Méthode 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 méthode

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

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

NextLine() public méthode

Scroll to make the next line visible.
public NextLine ( ) : void
Résultat void

PrevLine() public méthode

Scroll to make the previous line visible.
public PrevLine ( ) : void
Résultat void

SyncChildren() public méthode

public SyncChildren ( ) : void
Résultat void

ToString() public méthode

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

TrackMoveDown() public méthode

Move tracking down one line.
public TrackMoveDown ( ) : void
Résultat void

TrackMoveEnd() public méthode

Move tracking to the last item.
public TrackMoveEnd ( ) : void
Résultat void

TrackMoveHome() public méthode

Move tracking to the first item.
public TrackMoveHome ( ) : void
Résultat void

TrackMoveLeft() public méthode

Move tracking down left one item.
public TrackMoveLeft ( ) : void
Résultat void

TrackMovePageDown() public méthode

Move tracking downwards by a whole page.
public TrackMovePageDown ( ) : void
Résultat void

TrackMovePageUp() public méthode

Move tracking upwards by a whole page.
public TrackMovePageUp ( ) : void
Résultat void

TrackMoveRight() public méthode

Move tracking down right one item.
public TrackMoveRight ( ) : void
Résultat void

TrackMoveUp() public méthode

Move tracking up one line.
public TrackMoveUp ( ) : void
Résultat void

ViewLayoutRibbonGalleryItems() public méthode

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.
Résultat System