Bewerken

Share via


AutomationProperties.SetIsOffscreenBehavior Method

Definition

Sets the IsOffscreenBehavior attached property for the specified DependencyObject.

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)

Parameters

element
DependencyObject

The DependencyObject on which to set the property.

value
IsOffscreenBehavior

A value that specifies how an element determines how the IsOffscreen() property is determined.

Applies to