英語で読む

次の方法で共有


AutomationProperties.SetAutomationId(DependencyObject, String) メソッド

定義

指定した DependencyObjectAutomationProperties.AutomationId 添付プロパティの値を設定します。

public static void SetAutomationId(DependencyObject element, string value);

パラメーター

element
DependencyObject

プロパティを設定する DependencyObject

value
String

設定する UI オートメーション識別子の値。

適用対象