AutomationProperties.SetLiveSetting 方法

定义

设置指定 DependencyObjectLiveSetting 附加属性。

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

要分配给属性的值。

适用于

另请参阅