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.v20.1.dll

Declaration

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

Parameters

Name Type Description
obj DependencyObject

A DependencyObject whose dependency property should be set.

value Boolean

The new local value.

See Also