AutomationProperties.SetIsOffscreenBehavior 方法

定义

设置指定 DependencyObjectIsOffscreenBehavior 附加属性。

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

参数

element
DependencyObject

要在其上设置属性的 DependencyObject

value
IsOffscreenBehavior

指定元素如何确定 IsOffscreen() 属性的确定方法的值。

适用于