Represents a size selection gallery control, for use within a menu.
- Inheritance:
-
object
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
TemplatedControl
ItemsControl
SelectingItemsControl
Bar
Gallery BarBase Menu objectGallery
- Implements:
-
IDataContextProvider
ILogical
IThemeVariantHost
IResourceHost
IResourceNode
IStyleHost
ISetLogicalParent
ISetInheritanceParent
IStyleable
INamed
IInputElement
IDataTemplateHost
ISetterValue
IChildIndexProvider
ICommandSource
IDrag
Resizable Control
Constructors
BarSizeSelectionMenuGallery()
Initializes an instance of the class.
Properties
ColumnCount
The number of columns.
Property Value
- int:
The default value is
10
.
DefaultHeadingText
The default heading text that is displayed above the menu gallery.
Property Value
HeadingText
The current heading text that is displayed above the menu gallery.
Property Value
RowCount
The number of rows.
Property Value
- int:
The default value is
8
.
SizeHeadingTextFormat
The format string to use for the heading when the end user is selecting a size in the gallery.
Property Value
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 Avalonia.Size with one-based values.
OnApplyTemplate(TemplateAppliedEventArgs)
Called when the control's template is applied. In simple terms, this means the method is called just before the control is displayed.
Parameter | Type | Description |
---|---|---|
e | TemplateAppliedEventArgs | The event args. |
OnHighlightedItemChanged()
Invokes the Highlighted
Fields
ColumnCountProperty
Defines the Column
DefaultHeadingTextProperty
Defines the Default
HeadingTextProperty
Defines the Heading
RowCountProperty
Defines the Row
SizeHeadingTextFormatProperty
Defines 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 Theme Property -
Bar
Menu Gallery. Category Header Template Property -
Bar
Menu Gallery. Default Category Header Template Property -
Bar
Menu Gallery. Has Category Headers Property -
Bar
Menu Gallery. Is Filter Button Visible Property -
Bar
Menu Gallery. Item Template Selector 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. Create Container For Item Override(object, int, object) -
Bar
Menu Gallery. On Create Automation Peer() -
Bar
Menu Gallery. On Detached From Visual Tree(Visual Tree Attachment Event Args) -
Bar
Menu Gallery. Prepare Container For Item Override(Control, object, int) -
Bar
Menu Gallery. Render(Drawing Context) -
Bar
Menu Gallery. Are Surrounding Separators Allowed -
Bar
Menu Gallery. Can Categorize -
Bar
Menu Gallery. Can Filter -
Bar
Menu Gallery. Category Container Theme -
Bar
Menu Gallery. Category Header Template -
Bar
Menu Gallery. Default Category Header Template -
Bar
Menu Gallery. Has Category Headers -
Bar
Menu Gallery. Is Filter Button Visible -
Bar
Menu Gallery. Item Template Selector -
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 Parameter 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 Container Template Selector Property -
Bar
Gallery Base. Item Spacing Property -
Bar
Gallery Base. Key Property -
Bar
Gallery Base. Label Property -
Bar
Gallery Base. Large Icon Property -
Bar
Gallery Base. Medium Icon Property -
Bar
Gallery Base. Min Item Height Property -
Bar
Gallery Base. Min Item Width Property -
Bar
Gallery Base. Previewed Item Property -
Bar
Gallery Base. Small Icon Property -
Bar
Gallery Base. Title Property -
Bar
Gallery Base. Use Accented Item Border Property -
Bar
Gallery Base. Clear Container For Item Override(Control) -
Bar
Gallery Base. Needs Container Override(object, int, out object) -
Bar
Gallery Base. On Attached To Logical Tree(Logical Tree Attachment Event Args) -
Bar
Gallery Base. On Detached From Logical Tree(Logical Tree Attachment Event Args) -
Bar
Gallery Base. On Is Keyboard Focus Within Changed(Avalonia Property Changed Event Args) -
Bar
Gallery Base. On Item Spacing Property Value Changed(Avalonia Property Changed Event Args) -
Bar
Gallery Base. On Min Item Height Property Value Changed(Avalonia Property Changed Event Args) -
Bar
Gallery Base. On Min Item Width Property Value Changed(Avalonia Property Changed Event Args) -
Bar
Gallery Base. On Pointer Exited(Pointer Event Args) -
Bar
Gallery Base. On Pointer Moved(Pointer 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 Parameter -
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 Icon -
Bar
Gallery Base. Medium Icon -
Bar
Gallery Base. Min Item Height -
Bar
Gallery Base. Min Item Width -
Bar
Gallery Base. Previewed Item -
Bar
Gallery Base. Small Icon -
Bar
Gallery Base. Title -
Bar
Gallery Base. Use Accented Item Border -
Bar
Gallery Base. Highlighted Item Changed - SelectingItemsControl.AutoScrollToSelectedItemProperty
- SelectingItemsControl.SelectedIndexProperty
- SelectingItemsControl.SelectedItemProperty
- SelectingItemsControl.SelectedValueProperty
- SelectingItemsControl.SelectedValueBindingProperty
- SelectingItemsControl.SelectedItemsProperty
- SelectingItemsControl.SelectionProperty
- SelectingItemsControl.SelectionModeProperty
- SelectingItemsControl.IsSelectedProperty
- SelectingItemsControl.IsTextSearchEnabledProperty
- SelectingItemsControl.IsSelectedChangedEvent
- SelectingItemsControl.SelectionChangedEvent
- SelectingItemsControl.WrapSelectionProperty
- SelectingItemsControl.BeginInit()
- SelectingItemsControl.EndInit()
- SelectingItemsControl.GetIsSelected(Control)
-
Selecting
Items Control. Set Is Selected(Control, bool) -
Selecting
Items Control. Get Container From Event Source(object) - SelectingItemsControl.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)
-
Selecting
Items Control. Container For Item Prepared Override(Control, object, int) -
Selecting
Items Control. Container Index Changed Override(Control, int, int) - SelectingItemsControl.OnDataContextBeginUpdate()
- SelectingItemsControl.OnDataContextEndUpdate()
-
Selecting
Items Control. Update Data Validation(Avalonia Property, Binding Value Type, Exception) - SelectingItemsControl.OnInitialized()
- SelectingItemsControl.OnTextInput(TextInputEventArgs)
- SelectingItemsControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
-
Selecting
Items Control. Move Selection(Navigation Direction, bool, bool) -
Selecting
Items Control. Move Selection(Control, Navigation Direction, bool, bool) -
Selecting
Items Control. Update Selection(int, bool, bool, bool, bool, bool) -
Selecting
Items Control. Update Selection(Control, bool, bool, bool, bool, bool) -
Selecting
Items Control. Update Selection From Event Source(object, bool, bool, bool, bool, bool) - SelectingItemsControl.AutoScrollToSelectedItem
- SelectingItemsControl.SelectedIndex
- SelectingItemsControl.SelectedItem
- SelectingItemsControl.SelectedValueBinding
- SelectingItemsControl.SelectedValue
- SelectingItemsControl.SelectedItems
- SelectingItemsControl.Selection
- SelectingItemsControl.IsTextSearchEnabled
- SelectingItemsControl.WrapSelection
- SelectingItemsControl.SelectionMode
- SelectingItemsControl.AlwaysSelected
- SelectingItemsControl.SelectionChanged
- ItemsControl.ItemContainerThemeProperty
- ItemsControl.ItemCountProperty
- ItemsControl.ItemsPanelProperty
- ItemsControl.ItemsSourceProperty
- ItemsControl.ItemTemplateProperty
- ItemsControl.DisplayMemberBindingProperty
-
Items
Control. Container From Index(int) -
Items
Control. Container From Item(object) - ItemsControl.IndexFromContainer(Control)
- ItemsControl.ItemFromContainer(Control)
- ItemsControl.GetRealizedContainers()
-
Items
Control. Scroll Into View(int) -
Items
Control. Scroll Into View(object) - ItemsControl.ItemsControlFromItemContainer(Control)
- ItemsControl.NeedsContainer<T>(object, out object)
- ItemsControl.OnGotFocus(GotFocusEventArgs)
- ItemsControl.OnKeyDown(KeyEventArgs)
- ItemsControl.RefreshContainers()
-
Items
Control. Get Next Control(INavigable Container, Navigation Direction, IInput Element, bool) - ItemsControl.DisplayMemberBinding
- ItemsControl.ItemContainerGenerator
- ItemsControl.Items
- ItemsControl.ItemContainerTheme
- ItemsControl.ItemCount
- ItemsControl.ItemsPanel
- ItemsControl.ItemsSource
- ItemsControl.ItemTemplate
- ItemsControl.Presenter
- ItemsControl.ItemsPanelRoot
- ItemsControl.ItemsView
- ItemsControl.DefaultRecycleKey
- ItemsControl.ContainerPrepared
- ItemsControl.ContainerIndexChanged
- ItemsControl.ContainerClearing
- TemplatedControl.BackgroundProperty
- TemplatedControl.BackgroundSizingProperty
- TemplatedControl.BorderBrushProperty
- TemplatedControl.BorderThicknessProperty
- TemplatedControl.CornerRadiusProperty
- TemplatedControl.FontFamilyProperty
- TemplatedControl.FontFeaturesProperty
- TemplatedControl.FontSizeProperty
- TemplatedControl.FontStyleProperty
- TemplatedControl.FontWeightProperty
- TemplatedControl.FontStretchProperty
- TemplatedControl.ForegroundProperty
- TemplatedControl.PaddingProperty
- TemplatedControl.TemplateProperty
- TemplatedControl.IsTemplateFocusTargetProperty
- TemplatedControl.TemplateAppliedEvent
- TemplatedControl.GetIsTemplateFocusTarget(Control)
-
Templated
Control. Set Is Template Focus Target(Control, bool) - TemplatedControl.ApplyTemplate()
- TemplatedControl.GetTemplateFocusTarget()
- TemplatedControl.OnTemplateChanged(AvaloniaPropertyChangedEventArgs)
- TemplatedControl.Background
- TemplatedControl.BackgroundSizing
- TemplatedControl.BorderBrush
- TemplatedControl.BorderThickness
- TemplatedControl.CornerRadius
- TemplatedControl.FontFamily
- TemplatedControl.FontFeatures
- TemplatedControl.FontSize
- TemplatedControl.FontStyle
- TemplatedControl.FontWeight
- TemplatedControl.FontStretch
- TemplatedControl.Foreground
- TemplatedControl.Padding
- TemplatedControl.Template
- TemplatedControl.TemplateApplied
- Control.FocusAdornerProperty
- Control.TagProperty
- Control.ContextMenuProperty
- Control.ContextFlyoutProperty
- Control.RequestBringIntoViewEvent
- Control.ContextRequestedEvent
- Control.LoadedEvent
- Control.UnloadedEvent
- Control.SizeChangedEvent
- Control.OnLoaded(RoutedEventArgs)
- Control.OnUnloaded(RoutedEventArgs)
- Control.OnSizeChanged(SizeChangedEventArgs)
- Control.OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs)
- Control.OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs)
- Control.OnLostFocus(RoutedEventArgs)
- Control.OnPointerReleased(PointerReleasedEventArgs)
- Control.OnKeyUp(KeyEventArgs)
- Control.FocusAdorner
- Control.DataTemplates
- Control.ContextMenu
- Control.ContextFlyout
- Control.IsLoaded
- Control.Tag
- Control.ContextRequested
- Control.Loaded
- Control.Unloaded
- Control.SizeChanged
- InputElement.FocusableProperty
- InputElement.IsEnabledProperty
- InputElement.IsEffectivelyEnabledProperty
- InputElement.CursorProperty
- InputElement.IsKeyboardFocusWithinProperty
- InputElement.IsFocusedProperty
- InputElement.IsHitTestVisibleProperty
- InputElement.IsPointerOverProperty
- InputElement.IsTabStopProperty
- InputElement.GotFocusEvent
- InputElement.LostFocusEvent
- InputElement.KeyDownEvent
- InputElement.KeyUpEvent
- InputElement.TabIndexProperty
- InputElement.TextInputEvent
- InputElement.TextInputMethodClientRequestedEvent
- InputElement.PointerEnteredEvent
- InputElement.PointerExitedEvent
- InputElement.PointerMovedEvent
- InputElement.PointerPressedEvent
- InputElement.PointerReleasedEvent
- InputElement.PointerCaptureLostEvent
- InputElement.PointerWheelChangedEvent
- InputElement.TappedEvent
- InputElement.HoldingEvent
- InputElement.DoubleTappedEvent
- InputElement.Focus(NavigationMethod, KeyModifiers)
- InputElement.OnPointerEntered(PointerEventArgs)
- InputElement.OnPointerPressed(PointerPressedEventArgs)
- InputElement.OnPointerCaptureLost(PointerCaptureLostEventArgs)
- InputElement.OnPointerWheelChanged(PointerWheelEventArgs)
- InputElement.UpdateIsEffectivelyEnabled()
- InputElement.Focusable
- InputElement.IsEnabled
- InputElement.Cursor
- InputElement.IsKeyboardFocusWithin
- InputElement.IsFocused
- InputElement.IsHitTestVisible
- InputElement.IsPointerOver
- InputElement.IsTabStop
- InputElement.IsEffectivelyEnabled
- InputElement.TabIndex
- InputElement.KeyBindings
- InputElement.IsEnabledCore
- InputElement.GestureRecognizers
- InputElement.GotFocus
- InputElement.LostFocus
- InputElement.KeyDown
- InputElement.KeyUp
- InputElement.TextInput
- InputElement.TextInputMethodClientRequested
- InputElement.PointerEntered
- InputElement.PointerExited
- InputElement.PointerMoved
- InputElement.PointerPressed
- InputElement.PointerReleased
- InputElement.PointerCaptureLost
- InputElement.PointerWheelChanged
- InputElement.Tapped
- InputElement.Holding
- InputElement.DoubleTapped
-
Interactive.
Add Handler(Routed Event, Delegate, Routing Strategies, bool) - Interactive.AddHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>, RoutingStrategies, bool)
-
Interactive.
Remove Handler(Routed Event, Delegate) - Interactive.RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>)
- Interactive.RaiseEvent(RoutedEventArgs)
- Interactive.BuildEventRoute(RoutedEvent)
- Layoutable.DesiredSizeProperty
- Layoutable.WidthProperty
- Layoutable.HeightProperty
- Layoutable.MinWidthProperty
- Layoutable.MaxWidthProperty
- Layoutable.MinHeightProperty
- Layoutable.MaxHeightProperty
- Layoutable.MarginProperty
- Layoutable.HorizontalAlignmentProperty
- Layoutable.VerticalAlignmentProperty
- Layoutable.UseLayoutRoundingProperty
- Layoutable.UpdateLayout()
- Layoutable.Measure(Size)
- Layoutable.Arrange(Rect)
- Layoutable.InvalidateMeasure()
- Layoutable.InvalidateArrange()
- Layoutable.AffectsMeasure<T>(params AvaloniaProperty[])
- Layoutable.AffectsArrange<T>(params AvaloniaProperty[])
- Layoutable.MeasureCore(Size)
- Layoutable.MeasureOverride(Size)
- Layoutable.ArrangeCore(Rect)
- Layoutable.ArrangeOverride(Size)
- Layoutable.OnMeasureInvalidated()
- Layoutable.OnVisualParentChanged(Visual, Visual)
- Layoutable.Width
- Layoutable.Height
- Layoutable.MinWidth
- Layoutable.MaxWidth
- Layoutable.MinHeight
- Layoutable.MaxHeight
- Layoutable.Margin
- Layoutable.HorizontalAlignment
- Layoutable.VerticalAlignment
- Layoutable.DesiredSize
- Layoutable.IsMeasureValid
- Layoutable.IsArrangeValid
- Layoutable.UseLayoutRounding
- Layoutable.EffectiveViewportChanged
- Layoutable.LayoutUpdated
- Visual.BoundsProperty
- Visual.ClipToBoundsProperty
- Visual.ClipProperty
- Visual.IsVisibleProperty
- Visual.OpacityProperty
- Visual.OpacityMaskProperty
- Visual.EffectProperty
- Visual.HasMirrorTransformProperty
- Visual.RenderTransformProperty
- Visual.RenderTransformOriginProperty
- Visual.FlowDirectionProperty
- Visual.VisualParentProperty
- Visual.ZIndexProperty
- Visual.GetFlowDirection(Visual)
- Visual.SetFlowDirection(Visual, FlowDirection)
- Visual.InvalidateVisual()
- Visual.AffectsRender<T>(params AvaloniaProperty[])
-
Visual.
Logical Children Collection Changed(object, Notify Collection Changed Event Args) - Visual.InvalidateMirrorTransform()
- Visual.Bounds
- Visual.ClipToBounds
- Visual.Clip
- Visual.IsEffectivelyVisible
- Visual.IsVisible
- Visual.Opacity
- Visual.OpacityMask
- Visual.Effect
- Visual.HasMirrorTransform
- Visual.RenderTransform
- Visual.RenderTransformOrigin
- Visual.FlowDirection
- Visual.ZIndex
- Visual.VisualChildren
- Visual.VisualRoot
- Visual.BypassFlowDirectionPolicies
- Visual.AttachedToVisualTree
- Visual.DetachedFromVisualTree
- StyledElement.DataContextProperty
- StyledElement.NameProperty
- StyledElement.ParentProperty
- StyledElement.TemplatedParentProperty
- StyledElement.ThemeProperty
- StyledElement.ApplyStyling()
- StyledElement.InitializeIfNeeded()
-
Styled
Element. Try Get Resource(object, Theme Variant, out object) -
Styled
Element. On Data Context Changed(Event Args) - StyledElement.Name
- StyledElement.Classes
- StyledElement.DataContext
- StyledElement.IsInitialized
- StyledElement.Styles
- StyledElement.StyleKey
- StyledElement.Resources
- StyledElement.TemplatedParent
- StyledElement.Theme
- StyledElement.LogicalChildren
- StyledElement.PseudoClasses
- StyledElement.StyleKeyOverride
- StyledElement.Parent
- StyledElement.ActualThemeVariant
- StyledElement.AttachedToLogicalTree
- StyledElement.DetachedFromLogicalTree
- StyledElement.DataContextChanged
- StyledElement.Initialized
- StyledElement.ResourcesChanged
- StyledElement.ActualThemeVariantChanged
- Animatable.TransitionsProperty
- Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
- Animatable.Transitions
- AvaloniaObject.CheckAccess()
- AvaloniaObject.VerifyAccess()
- AvaloniaObject.ClearValue(AvaloniaProperty)
- AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)
- AvaloniaObject.ClearValue<T>(StyledProperty<T>)
- AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)
-
Avalonia
Object. Equals(object) - AvaloniaObject.GetHashCode()
- AvaloniaObject.GetValue(AvaloniaProperty)
- AvaloniaObject.GetValue<T>(StyledProperty<T>)
- AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)
- AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)
- AvaloniaObject.IsAnimating(AvaloniaProperty)
- AvaloniaObject.IsSet(AvaloniaProperty)
-
Avalonia
Object. Set Value(Avalonia Property, object, Binding Priority) - AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
- AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
-
Avalonia
Object. Set Current Value(Avalonia Property, object) - AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)
- AvaloniaObject.Bind(AvaloniaProperty, IBinding)
- AvaloniaObject.Bind(AvaloniaProperty, IObservable<object>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<object>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<T>, BindingPriority)
- AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<BindingValue<T>>, BindingPriority)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<object>)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<T>)
- AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<BindingValue<T>>)
- AvaloniaObject.CoerceValue(AvaloniaProperty)
- AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)
- AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)
- AvaloniaObject.InheritanceParent
- AvaloniaObject.this[AvaloniaProperty]
- AvaloniaObject.this[IndexerDescriptor]
- AvaloniaObject.PropertyChanged
-
object.
Get Type() -
object.
Memberwise Clone() -
object.
Equals(object, object) -
object.
Reference Equals(object, object)