Skip to main content

RibbonControl.SetRibbon(DependencyObject, RibbonControl) Method

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

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

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