AutomationProperties.SetIsOffscreenBehavior Method (DependencyObject, IsOffscreenBehavior)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the IsOffscreenBehavior attached property for the specified DependencyObject.

Namespace:   System.Windows.Automation
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetIsOffscreenBehavior(
	DependencyObject element,
	IsOffscreenBehavior value
)

Parameters

element
Type: System.Windows.DependencyObject

The DependencyObject on which to set the property.

value
Type: System.Windows.Automation.IsOffscreenBehavior

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

.NET Framework
Available since 4.5
Return to top
Show: