Share via


RibbonCheckBox.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.

.NET Framework Security

See Also

Reference

RibbonCheckBox Class

Microsoft.Windows.Controls.Ribbon Namespace