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


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


Name Type Description
obj DependencyObject

A DependencyObject whose dependency property should be set.

value Boolean

The new local value.

See Also