C# Class ComponentFactory.Krypton.Navigator.ViewLayoutBar

View element that can size and position each page entry on the bar.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
FindStartingXPosition int
FindStartingYPosition int

Méthodes publiques

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

Private Methods

Méthode Description
FindStartingXPosition ( ViewLayoutContext context, LineDetails lineDetails, bool reversePosition ) : int
FindStartingYPosition ( ViewLayoutContext context, LineDetails lineDetails, bool reversePosition ) : int

Method Details

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

SetMetrics() public méthode

Updates the metrics source and metric to use.
public SetMetrics ( IPaletteMetric paletteMetric ) : void
paletteMetric IPaletteMetric Source for aquiring metrics.
Résultat void

SetMetrics() public méthode

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

ToString() public méthode

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

ViewLayoutBar() public méthode

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

ViewLayoutBar() public méthode

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

ViewLayoutBar() public méthode

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