AutomationProperties.SetLiveSetting(DependencyObject, AutomationLiveSetting) 方法

定義

為指定的 DependencyObject 設定 LiveSetting 附加屬性。Sets the LiveSetting attached property for the specified DependencyObject.

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

要進行檢查的 DependencyObjectThe DependencyObject to check.

value
AutomationLiveSetting

要指派給屬性的值。The value to assign to the property.

適用於

另請參閱