Editar

Compartir vía


RibbonControlService.GetRibbon(DependencyObject) Method

Definition

Gets the value of the Ribbon attached property for an object.

public:
 static System::Windows::Controls::Ribbon::Ribbon ^ GetRibbon(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.Ribbon.Ribbon GetRibbon (System.Windows.DependencyObject element);
static member GetRibbon : System.Windows.DependencyObject -> System.Windows.Controls.Ribbon.Ribbon
Public Shared Function GetRibbon (element As DependencyObject) As Ribbon

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The object's Ribbon property value.

Exceptions

The specified element is null.

Applies to