Skip to main content

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

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public static void SetAllowAddingToToolbar(
    DependencyObject obj,
    bool value
)

Parameters

Name Type Description
obj DependencyObject

A DependencyObject whose dependency property should be set.

value Boolean

The new local value.

See Also