IWindowProvider.SetVisualState Method (WindowVisualState)

 

Changes the visual state of the window. For example, minimizes or maximizes it.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

void SetVisualState(
	WindowVisualState state
)

Parameters

state
Type: System.Windows.Automation.WindowVisualState

The requested visual state of the window.

Exception Condition
InvalidOperationException

When the control does not support the requested behavior.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: