Class BinaryRibbonQuickAccessToolBar
A custom items control class that acts like the Quick access toolbar (QAT) like the ones seen in MS Office ribbon applications.
Implements
Namespace: Binarymission.WPF.Controls.Office
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryRibbonQuickAccessToolBar : ItemsControl, IBinaryRibbonKeyTipControl
Constructors
BinaryRibbonQuickAccessToolBar()
Initializes a new instance of the BinaryRibbonQuickAccessToolBar class.
Declaration
public BinaryRibbonQuickAccessToolBar()
Properties
FooterContent
Gets or sets the the footer content.
Declaration
public object FooterContent { get; set; }
FooterDataTemplate
Gets or sets the DataTemplate for the footer content.
Declaration
public DataTemplate FooterDataTemplate { get; set; }
HasContentOverflowItems
Gets or sets a value indicating whether this instance has content overflow items.
Declaration
public bool HasContentOverflowItems { get; set; }
HasItems
Gets a value that indicates whether the ItemsControl contains items. This is a dependency property.
Declaration
public bool HasItems { get; set; }
HeaderContent
Gets or sets the custom content for the header.
Declaration
public object HeaderContent { get; set; }
HeaderDataTemplate
Gets or sets the DataTemplate for the header content.
Declaration
public DataTemplate HeaderDataTemplate { get; set; }
IsContentOverflowWindowShowing
Gets or sets a value indicating whether this instance's content overflow window is showing.
Declaration
public bool IsContentOverflowWindowShowing { get; set; }
IsOpen
Gets or sets a value indicating whether overflow window is open.
Declaration
public bool IsOpen { get; set; }
ItemsTemplate
Gets or sets the items DataTemplate.
Declaration
public DataTemplate ItemsTemplate { get; set; }
ToolBarPlacementLocation
Gets or sets the toolbar placement location.
Declaration
public QuickAccessToolbarPlacementLocation ToolBarPlacementLocation { get; set; }
Methods
GetQuickAccessChildPlacement(DependencyObject)
Gets the QAT child placement.
Declaration
public static QuickAccessToolbarChildPlacementTarget GetQuickAccessChildPlacement(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj |
Returns
Type | Description |
---|---|
QuickAccessToolbarChildPlacementTarget |
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
Size | constraint |
Returns
Type | Description |
---|---|
Size |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
public override void OnApplyTemplate()
SetQuickAccessChildPlacement(DependencyObject, QuickAccessToolbarChildPlacementTarget)
Sets the QAT child placement.
Declaration
public static void SetQuickAccessChildPlacement(DependencyObject obj, QuickAccessToolbarChildPlacementTarget value)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | |
QuickAccessToolbarChildPlacementTarget | value |
Explicit Interface Implementations
IBinaryRibbonKeyTipControl.PerformKeyTipExecute()
Performs custom logic for the method PerformKeyTipExecute().
Declaration
void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()