Represents a size selection gallery control, for use within a menu.
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control ItemsControl Selector BarGallery BarBase Menu objectGallery
- Implements:
-
IDrag
Resizable Control
Constructors
BarSizeSelectionMenuGallery()
Initializes a new instance of the Bar
Properties
ColumnCount
Gets or sets the number of columns.
Property Value
- int:
The number of columns. The default value is
10
.
DefaultHeadingText
Gets or sets the default heading text that is displayed above the menu gallery.
Property Value
- string:
The default heading text that is displayed above the menu gallery.
HeadingText
Gets the current heading text that is displayed above the menu gallery.
Property Value
- string:
The current heading text that is displayed above the menu gallery.
RowCount
Gets or sets the number of rows.
Property Value
- int:
The number of rows. The default value is
8
.
SizeHeadingTextFormat
Gets or sets the format string to use for the heading when the end user is selecting a size in the gallery.
Property Value
- string:
The format string to use for the heading when the end user is selecting a size in the gallery.
Remarks
The first parameter to the format string is the current width. The second parameter to the format string is the current height.
Methods
CreateItem(int, int)
Creates an item to represent the specified row and column indices.
Parameter | Type | Description |
---|---|---|
rowIndex | int | The zero-based row index. |
columnIndex | int | The zero-based column index. |
Returns
- object:
The item that was created, which by default is a System.Windows.Size with one-based values.
OnHighlightedItemChanged(RoutedEventArgs)
Occurs after the Highlighted
Parameter | Type | Description |
---|---|---|
e | Routed |
The Routed |
Fields
ColumnCountProperty
Identifies the Column
DefaultHeadingTextProperty
Identifies the Default
HeadingTextProperty
Identifies the Heading
RowCountProperty
Identifies the Row
SizeHeadingTextFormatProperty
Identifies the Size
Inherited Members
-
Bar
Menu Gallery. Are Surrounding Separators Allowed Property -
Bar
Menu Gallery. Can Categorize Property -
Bar
Menu Gallery. Can Filter Property -
Bar
Menu Gallery. Category Container Style Property -
Bar
Menu Gallery. Category Header Template Property -
Bar
Menu Gallery. Has Category Headers Property -
Bar
Menu Gallery. Is Filter Button Visible Property -
Bar
Menu Gallery. Max Column Count Property -
Bar
Menu Gallery. Min Column Count Property -
Bar
Menu Gallery. Resize Mode Property -
Bar
Menu Gallery. Selected Filter Category Property -
Bar
Menu Gallery. Use Menu Item Appearance Property -
Bar
Menu Gallery. Use Menu Item Indent Property -
Bar
Menu Gallery. On Apply Template() -
Bar
Menu Gallery. On Create Automation Peer() -
Bar
Menu Gallery. On Items Source Changed(IEnumerable, IEnumerable) -
Bar
Menu Gallery. Prepare Container For Item Override(Dependency Object, object) -
Bar
Menu Gallery. Are Surrounding Separators Allowed -
Bar
Menu Gallery. Can Categorize -
Bar
Menu Gallery. Can Filter -
Bar
Menu Gallery. Category Container Style -
Bar
Menu Gallery. Category Header Template -
Bar
Menu Gallery. Has Category Headers -
Bar
Menu Gallery. Is Filter Button Visible -
Bar
Menu Gallery. Max Column Count -
Bar
Menu Gallery. Min Column Count -
Bar
Menu Gallery. Resize Mode -
Bar
Menu Gallery. Selected Filter Category -
Bar
Menu Gallery. Select Filter Category Command -
Bar
Menu Gallery. Use Menu Item Appearance -
Bar
Menu Gallery. Use Menu Item Indent -
Bar
Gallery Base. Highlighted Item Changed Event -
Bar
Gallery Base. Between Preview Delay Property -
Bar
Gallery Base. Can Clone To Ribbon Quick Access Tool Bar Property -
Bar
Gallery Base. Command Property -
Bar
Gallery Base. Command Target Property -
Bar
Gallery Base. Highlighted Item Property -
Bar
Gallery Base. Initial Preview Delay Property -
Bar
Gallery Base. Is Selection Supported Property -
Bar
Gallery Base. Item Spacing Property -
Bar
Gallery Base. Key Property -
Bar
Gallery Base. Label Property -
Bar
Gallery Base. Large Image Source Property -
Bar
Gallery Base. Min Item Height Property -
Bar
Gallery Base. Min Item Width Property -
Bar
Gallery Base. Medium Image Source Property -
Bar
Gallery Base. Previewed Item Property -
Bar
Gallery Base. Small Image Source Property -
Bar
Gallery Base. Title Property -
Bar
Gallery Base. Use Accented Item Border Property -
Bar
Gallery Base. User Interface Density Property -
Bar
Gallery Base. Clear Container For Item Override(Dependency Object, object) -
Bar
Gallery Base. Get Container For Item Override() -
Bar
Gallery Base. Is Item Its Own Container Override(object) -
Bar
Gallery Base. On Is Keyboard Focus Within Changed(Dependency Property Changed Event Args) -
Bar
Gallery Base. On Item Spacing Property Value Changed(Dependency Property Changed Event Args) -
Bar
Gallery Base. On Min Item Height Property Value Changed(Dependency Property Changed Event Args) -
Bar
Gallery Base. On Min Item Width Property Value Changed(Dependency Property Changed Event Args) -
Bar
Gallery Base. On Mouse Leave(Mouse Event Args) -
Bar
Gallery Base. On Mouse Move(Mouse Event Args) -
Bar
Gallery Base. On Selection Changed(Selection Changed Event Args) -
Bar
Gallery Base. On User Interface Density Property Value Changed(Dependency Property Changed Event Args) -
Bar
Gallery Base. Scroll To Selected Item(bool) -
Bar
Gallery Base. To String() -
Bar
Gallery Base. Between Preview Delay -
Bar
Gallery Base. Can Clone To Ribbon Quick Access Tool Bar -
Bar
Gallery Base. Can Stop Previewing On Mouse Leave -
Bar
Gallery Base. Command -
Bar
Gallery Base. Command Target -
Bar
Gallery Base. Highlighted Item -
Bar
Gallery Base. Initial Preview Delay -
Bar
Gallery Base. Is Selection Supported -
Bar
Gallery Base. Item Spacing -
Bar
Gallery Base. Key -
Bar
Gallery Base. Label -
Bar
Gallery Base. Large Image Source -
Bar
Gallery Base. Medium Image Source -
Bar
Gallery Base. Min Item Height -
Bar
Gallery Base. Min Item Width -
Bar
Gallery Base. Previewed Item -
Bar
Gallery Base. Small Image Source -
Bar
Gallery Base. Title -
Bar
Gallery Base. Use Accented Item Border -
Bar
Gallery Base. User Interface Density -
Bar
Gallery Base. Highlighted Item Changed