Skip to main content

RibbonControl.SetRibbon(DependencyObject, RibbonControl) Method

In This Article

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

Namespace: DevExpress.Xpf.Ribbon

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

#Declaration

public static void SetRibbon(
    DependencyObject obj,
    RibbonControl value
)

#Parameters

Name Type Description
obj DependencyObject

A DependencyObject whose RibbonControl.Ribbon attached property is to be set.

value RibbonControl

The new value of the RibbonControl.Ribbon attached property.

See Also