C# Класс ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonGalleryItems

View element that creates and lays out the gallery items.
Наследование: ComponentFactory.Krypton.Toolkit.ViewComposite
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

BringIntoView() публичный Метод

Bring the specified image index into view.
public BringIntoView ( int index ) : void
index int Index to bring into view.
Результат void

GetPreferredSize() публичный Метод

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат System.Drawing.Size

Layout() публичный Метод

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат void

NextLine() публичный Метод

Scroll to make the next line visible.
public NextLine ( ) : void
Результат void

PrevLine() публичный Метод

Scroll to make the previous line visible.
public PrevLine ( ) : void
Результат void

SyncChildren() публичный Метод

public SyncChildren ( ) : void
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

TrackMoveDown() публичный Метод

Move tracking down one line.
public TrackMoveDown ( ) : void
Результат void

TrackMoveEnd() публичный Метод

Move tracking to the last item.
public TrackMoveEnd ( ) : void
Результат void

TrackMoveHome() публичный Метод

Move tracking to the first item.
public TrackMoveHome ( ) : void
Результат void

TrackMoveLeft() публичный Метод

Move tracking down left one item.
public TrackMoveLeft ( ) : void
Результат void

TrackMovePageDown() публичный Метод

Move tracking downwards by a whole page.
public TrackMovePageDown ( ) : void
Результат void

TrackMovePageUp() публичный Метод

Move tracking upwards by a whole page.
public TrackMovePageUp ( ) : void
Результат void

TrackMoveRight() публичный Метод

Move tracking down right one item.
public TrackMoveRight ( ) : void
Результат void

TrackMoveUp() публичный Метод

Move tracking up one line.
public TrackMoveUp ( ) : void
Результат void

ViewLayoutRibbonGalleryItems() публичный Метод

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.
Результат System