Back to Devexpress

RibbonControl.SetAllowAddingToToolbar(DependencyObject, Boolean) Method

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-dot-setallowaddingtotoolbar-x28-system-dot-windows-dot-dependencyobject-system-dot-boolean-x29.md

latest1.7 KB
Original Source

RibbonControl.SetAllowAddingToToolbar(DependencyObject, Boolean) Method

Sets the local value of the RibbonControl.AllowAddingToToolbar dependency property on the specified DependencyObject.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public static void SetAllowAddingToToolbar(
    DependencyObject obj,
    bool value
)
vb
Public Shared Sub SetAllowAddingToToolbar(
    obj As DependencyObject,
    value As Boolean
)

Parameters

NameTypeDescription
objDependencyObject

A DependencyObject whose dependency property should be set.

| | value | Boolean |

The new local value.

|

See Also

GetAllowAddingToToolbar(DependencyObject)

AllowAddingToToolbar

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace