Editar

Partilhar via


AutomationProperties.SetLabeledBy(DependencyObject, UIElement) Method

Definition

Sets the LabeledBy attached property.

public:
 static void SetLabeledBy(System::Windows::DependencyObject ^ element, System::Windows::UIElement ^ value);
public static void SetLabeledBy (System.Windows.DependencyObject element, System.Windows.UIElement value);
static member SetLabeledBy : System.Windows.DependencyObject * System.Windows.UIElement -> unit
Public Shared Sub SetLabeledBy (element As DependencyObject, value As UIElement)

Parameters

element
DependencyObject

The DependencyObject on which to set the property.

value
UIElement

The labeled by value to set.

Applies to

See also