AutomationProperties.SetLabeledBy(DependencyObject, UIElement) Metodo

Definizione

Imposta il valore della proprietà associata AutomationProperties.LabeledBy per l'oggetto DependencyObject specificato.

public:
 static void SetLabeledBy(DependencyObject ^ element, UIElement ^ value);
 static void SetLabeledBy(DependencyObject const& element, UIElement const& value);
public static void SetLabeledBy(DependencyObject element, UIElement value);
function setLabeledBy(element, value)
Public Shared Sub SetLabeledBy (element As DependencyObject, value As UIElement)

Parametri

element
DependencyObject

DependencyObject per cui impostare la proprietà .

value
UIElement

Elemento dell'interfaccia utente che rappresenta l'etichetta per l'elemento.

Si applica a