Skip to main content

RibbonControl.GetRibbon(DependencyObject) Method

Gets the value of the RibbonControl.Ribbon attached property for the specified object.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public static RibbonControl GetRibbon(
    DependencyObject obj
)

Parameters

Name Type Description
obj DependencyObject

A DependencyObject whose RibbonControl.Ribbon property’s value is to be returned.

Returns

Type Description
RibbonControl

The value of the RibbonControl.Ribbon attached property for the specified object.

See Also