WindowPattern::WindowPatternInformation::CanMaximize Property

 
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.

Gets a value that specifies whether the AutomationElement can be maximized.

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

public:
property bool CanMaximize {
	bool get();
}

Property Value

Type: System::Boolean

true if the AutomationElement can be maximized; otherwise false.

In the following example, a WindowPatterncontrol pattern is obtained from an AutomationElement and is subsequently used to specify the visual state of the AutomationElement.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: