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

Declaration

public static RibbonControl GetRibbon(
    DependencyObject obj
)
Public Shared Function GetRibbon(
    obj As DependencyObject
) As RibbonControl

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