Aracılığıyla paylaş


AutomationProperties.SetAutomationId(DependencyObject, String) Yöntem

Tanım

AutomationId Belirtilen DependencyObjectiçin ekli özelliği ayarlar.

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)

Parametreler

element
DependencyObject

DependencyObject Özelliğinin ayarlanacağı yer.

value
String

Ayarlanacağı UI Otomasyonu tanımlayıcı değeri.

Şunlara uygulanır

Ayrıca bkz.