AutomationProperties.SetLiveSetting 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置指定 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
要分配给属性的值。