AutomationProperties.SetLiveSetting 方法

定義

為指定的 DependencyObject 設定 LiveSetting 附加屬性。

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

參數

element
DependencyObject

要進行檢查的 DependencyObject

value
AutomationLiveSetting

要指派給屬性的值。

適用於

另請參閱