C# Класс ComponentFactory.Krypton.Navigator.ViewLayoutBar

View element that can size and position each page entry on the bar.
Наследование: ComponentFactory.Krypton.Toolkit.ViewComposite
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FindStartingXPosition int
FindStartingYPosition int

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

Метод Описание
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetMetrics ( IPaletteMetric paletteMetric ) : void

Updates the metrics source and metric to use.

SetMetrics ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap ) : void

Updates the metrics source and metric to use.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutBar ( BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, TabBorderStyle tabBorderStyle, bool reorderSelectedLine ) : System

Initialize a new instance of the ViewLayoutBar class.

ViewLayoutBar ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap, BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, TabBorderStyle tabBorderStyle, bool reorderSelectedLine ) : System

Initialize a new instance of the ViewLayoutBar class.

ViewLayoutBar ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap, BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, bool reorderSelectedLine ) : System

Initialize a new instance of the ViewLayoutBar class.

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

Метод Описание
FindStartingXPosition ( ViewLayoutContext context, LineDetails lineDetails, bool reversePosition ) : int
FindStartingYPosition ( ViewLayoutContext context, LineDetails lineDetails, bool reversePosition ) : int

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

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

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

Updates the metrics source and metric to use.
public SetMetrics ( IPaletteMetric paletteMetric ) : void
paletteMetric IPaletteMetric Source for aquiring metrics.
Результат void

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

Updates the metrics source and metric to use.
public SetMetrics ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap ) : void
paletteMetric IPaletteMetric Palette source for metric values.
metricGap PaletteMetricInt Metric for gap between each child item.
Результат void

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

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

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

Initialize a new instance of the ViewLayoutBar class.
public ViewLayoutBar ( BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, TabBorderStyle tabBorderStyle, bool reorderSelectedLine ) : System
itemSizing BarItemSizing Method used to calculate item size.
itemAlignment RelativePositionAlign Method used to align items within lines.
barMultiline BarMultiline Multline showing of items.
itemMinimumSize System.Drawing.Size Maximum allowed item size.
itemMaximumSize System.Drawing.Size Minimum allowed item size.
barMinimumHeight int Minimum height of the bar.
tabBorderStyle TabBorderStyle Tab border style.
reorderSelectedLine bool Should line with selection be reordered.
Результат System

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

Initialize a new instance of the ViewLayoutBar class.
public ViewLayoutBar ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap, BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, TabBorderStyle tabBorderStyle, bool reorderSelectedLine ) : System
paletteMetric IPaletteMetric Palette source for metric values.
metricGap PaletteMetricInt Metric for gap between each child item.
itemSizing BarItemSizing Method used to calculate item size.
itemAlignment RelativePositionAlign Method used to align items within lines.
barMultiline BarMultiline Multline showing of items.
itemMinimumSize System.Drawing.Size Maximum allowed item size.
itemMaximumSize System.Drawing.Size Minimum allowed item size.
barMinimumHeight int Minimum height of the bar.
tabBorderStyle TabBorderStyle Tab border style.
reorderSelectedLine bool Should line with selection be reordered.
Результат System

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

Initialize a new instance of the ViewLayoutBar class.
public ViewLayoutBar ( IPaletteMetric paletteMetric, PaletteMetricInt metricGap, BarItemSizing itemSizing, RelativePositionAlign itemAlignment, BarMultiline barMultiline, Size itemMinimumSize, Size itemMaximumSize, int barMinimumHeight, bool reorderSelectedLine ) : System
paletteMetric IPaletteMetric Palette source for metric values.
metricGap PaletteMetricInt Metric for gap between each child item.
itemSizing BarItemSizing Method used to calculate item size.
itemAlignment RelativePositionAlign Method used to align items within lines.
barMultiline BarMultiline Multline showing of items.
itemMinimumSize System.Drawing.Size Maximum allowed item size.
itemMaximumSize System.Drawing.Size Minimum allowed item size.
barMinimumHeight int Minimum height of the bar.
reorderSelectedLine bool Should line with selection be reordered.
Результат System