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

Declaration

public static void SetRibbon(
    DependencyObject obj,
    RibbonControl value
)
Public Shared Sub SetRibbon(
    obj As DependencyObject,
    value As RibbonControl
)

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