RibbonButton.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 |
|
Metadata properties set to true |
None |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.