Skip to main content
A newer version of this page is available. .

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

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