RibbonMenuButton.CanAddToQuickAccessToolBarDirectly Property

Gets or sets a value that indicates whether this control can be added directly to the Quick Access Toolbar.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property CanAddToQuickAccessToolBarDirectly As Boolean
public bool CanAddToQuickAccessToolBarDirectly { get; set; }
public:
property bool CanAddToQuickAccessToolBarDirectly {
    bool get ();
    void set (bool value);
}
member CanAddToQuickAccessToolBarDirectly : bool with get, set
function get CanAddToQuickAccessToolBarDirectly () : boolean
function set CanAddToQuickAccessToolBarDirectly (value : boolean)

Property Value

Type: System.Boolean
true if this control can be added directly to the Quick Access Toolbar; otherwise, false. The registered default is true. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

CanAddToQuickAccessToolBarDirectlyProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonMenuButton Class

Microsoft.Windows.Controls.Ribbon Namespace