AutomationProperties.SetAutomationId(DependencyObject, String) Metodo

Definizione

Imposta la proprietà associata AutomationId per l'oggetto DependencyObject specificato.

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

Parametri

element
DependencyObject

Oggetto DependencyObject per cui impostare la proprietà.

value
String

Valore Automazione interfaccia utente identificatore da impostare.

Si applica a

Vedi anche