HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonQuickAccessToolBar

BinaryRibbonQuickAccessToolBar

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

A custom items control class that acts like the Quick access toolbar (QAT) like the ones seen in MS Office ribbon applications.

public class BinaryRibbonQuickAccessToolBar : ItemsControl, IBinaryRibbonKeyTipControl

Inherits from / implements: ItemsControl, IBinaryRibbonKeyTipControl

Members at a glance

BinaryRibbonQuickAccessToolBarInitializes a new instance of the BinaryRibbonQuickAccessToolBar class.
FooterContentGets or sets the the footer content.
FooterDataTemplateGets or sets the DataTemplate for the footer content.
HasContentOverflowItemsGets or sets a value indicating whether this instance has content overflow items.
HasItemsGets a value that indicates whether the ItemsControl contains items. This is a dependency property.
HeaderContentGets or sets the custom content for the header.
HeaderDataTemplateGets or sets the DataTemplate for the header content.
IsContentOverflowWindowShowingGets or sets a value indicating whether this instance's content overflow window is showing.
IsOpenGets or sets a value indicating whether overflow window is open.
ItemsTemplateGets or sets the items DataTemplate.
ToolBarPlacementLocationGets or sets the toolbar placement location.
GetQuickAccessChildPlacementGets the QAT child placement.
MeasureOverrideMeasures the children and reports how much space this element needs.
OnApplyTemplateWhen overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
SetQuickAccessChildPlacementSets the QAT child placement.
FooterContentPropertyFooterContentProperty property.
FooterDataTemplatePropertyFooterDataTemplateProperty property.
HasContentOverflowItemsPropertyHasContentOverflowItemsProperty property.
HasItemsPropertyHasItemsProperty property.
HeaderContentPropertyHeaderContentProperty property.
HeaderDataTemplatePropertyHeaderDataTemplateProperty property.
IsContentOverflowWindowShowingPropertyIsContentOverflowWindowShowingProperty property.
IsOpenPropertyIsOpenProperty property.
ItemsTemplatePropertyItemsTemplateProperty property.
QuickAccessChildPlacementPropertyQuickAccessChildPlacementProperty property.
ToolBarPlacementLocationPropertyToolBarPlacementLocationProperty property.

Constructors

BinaryRibbonQuickAccessToolBar

public BinaryRibbonQuickAccessToolBar() : base()

Initializes a new instance of the BinaryRibbonQuickAccessToolBar class.

Properties

FooterContent

public object FooterContent

Gets or sets the the footer content.

FooterDataTemplate

public DataTemplate FooterDataTemplate

Gets or sets the DataTemplate for the footer content.

HasContentOverflowItems

public bool HasContentOverflowItems

Gets or sets a value indicating whether this instance has content overflow items.

Value. true if this instance has content overflow items; otherwise, false .

HasItems

public bool HasItems

Gets a value that indicates whether the ItemsControl contains items. This is a dependency property.

Returns. true if the items count is greater than 0; otherwise, false.The default is false.

HeaderContent

public object HeaderContent

Gets or sets the custom content for the header.

HeaderDataTemplate

public DataTemplate HeaderDataTemplate

Gets or sets the DataTemplate for the header content.

IsContentOverflowWindowShowing

public bool IsContentOverflowWindowShowing

Gets or sets a value indicating whether this instance's content overflow window is showing.

IsOpen

public bool IsOpen

Gets or sets a value indicating whether overflow window is open.

ItemsTemplate

public DataTemplate ItemsTemplate

Gets or sets the items DataTemplate.

ToolBarPlacementLocation

public QuickAccessToolbarPlacementLocation ToolBarPlacementLocation

Gets or sets the toolbar placement location.

Value. The tool bar placement location.

Methods

GetQuickAccessChildPlacement

public static QuickAccessToolbarChildPlacementTarget GetQuickAccessChildPlacement(DependencyObject obj)

Gets the QAT child placement.

MeasureOverride

protected override System.Windows.Size MeasureOverride(System.Windows.Size constraint)

Measures the children and reports how much space this element needs.

OnApplyTemplate

public override void OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

SetQuickAccessChildPlacement

public static void SetQuickAccessChildPlacement(DependencyObject obj, QuickAccessToolbarChildPlacementTarget value)

Sets the QAT child placement.

Fields

FooterContentProperty

public static readonly DependencyProperty FooterContentProperty

FooterContentProperty property.

FooterDataTemplateProperty

public static readonly DependencyProperty FooterDataTemplateProperty

FooterDataTemplateProperty property.

HasContentOverflowItemsProperty

public static readonly DependencyProperty HasContentOverflowItemsProperty

HasContentOverflowItemsProperty property.

HasItemsProperty

public static readonly DependencyProperty HasItemsProperty

HasItemsProperty property.

HeaderContentProperty

public static readonly DependencyProperty HeaderContentProperty

HeaderContentProperty property.

HeaderDataTemplateProperty

public static readonly DependencyProperty HeaderDataTemplateProperty

HeaderDataTemplateProperty property.

IsContentOverflowWindowShowingProperty

public static readonly DependencyProperty IsContentOverflowWindowShowingProperty

IsContentOverflowWindowShowingProperty property.

IsOpenProperty

public static readonly DependencyProperty IsOpenProperty

IsOpenProperty property.

ItemsTemplateProperty

public static readonly DependencyProperty ItemsTemplateProperty

ItemsTemplateProperty property.

QuickAccessChildPlacementProperty

public static readonly DependencyProperty QuickAccessChildPlacementProperty

QuickAccessChildPlacementProperty property.

ToolBarPlacementLocationProperty

public static readonly DependencyProperty ToolBarPlacementLocationProperty

ToolBarPlacementLocationProperty property.