Class QuickAccessToolBar
Represents a Quick Access ToolBar panel which is used to arrange the ribbon items above or below ribbon control.
Inheritance
Namespace: Syncfusion.UI.Xaml.Ribbon
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public class QuickAccessToolBar : ItemsControl
Constructors
QuickAccessToolBar()
Initializes a new instance of QuickAccessToolBar class.
Declaration
public QuickAccessToolBar()
Fields
MenuItemsProperty
Identifies the MenuItems dependency property.
Declaration
public static readonly DependencyProperty MenuItemsProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
PositionProperty
Identifies the Position dependency property.
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
ShowMoreCommandsProperty
Identifies the ShowMoreCommands dependency property.
Declaration
public static readonly DependencyProperty ShowMoreCommandsProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
MenuItems
Gets the collection that was used to generate the QAT MenuItems in drop-down area of QAT panel.
Declaration
public ObservableCollection<IRibbonItem> MenuItems { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<IRibbonItem> |
Position
Gets or sets a value indicating whether the QuickAccessToolBar is placed above or below the ribbon control.
Declaration
public QATPosition Position { get; set; }
Property Value
Type | Description |
---|---|
QATPosition | The default value is AboveRibbon. |
ShowMoreCommands
Gets or sets a value indicating whether the MoreCommands option in the drop-down of Quick Access Toolbar can be shown or not.
Declaration
public bool ShowMoreCommands { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true. |
Methods
Dispose()
Release the unmanaged resources of SfRibbon.
Declaration
public void Dispose()
OnApplyTemplate()
Contains the template logic of QuickAccessToolBar.
Declaration
protected override void OnApplyTemplate()