ITransformProvider.CanResize Property


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

Gets a value that specifies whether the UI Automation element can be resized.

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

bool CanResize { get; }

Property Value

Type: System.Boolean

true if the element can be resized; otherwise false.

The following example shows an implementation of this method for a control that can be resized.

/// <summary>
/// Specifies whether resizing is supported.
/// </summary>
bool ITransformProvider.CanResize
        return true;

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