Back to Devexpress

RibbonControl.GetAllowAddingToToolbar(DependencyObject) Method

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

latest1.9 KB
Original Source

RibbonControl.GetAllowAddingToToolbar(DependencyObject) Method

Returns the current effective 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 bool GetAllowAddingToToolbar(
    DependencyObject obj
)
vb
Public Shared Function GetAllowAddingToToolbar(
    obj As DependencyObject
) As Boolean

Parameters

NameTypeDescription
objDependencyObject

A DependencyObject whose dependency property value should be returned.

|

Returns

TypeDescription
Boolean

The current effective value of the RibbonControl.AllowAddingToToolbar dependency property.

|

See Also

AllowAddingToToolbar

SetAllowAddingToToolbar(DependencyObject, Boolean)

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace