ITransformProvider.CanMove Property

 

Gets a value that specifies whether the control can be moved.

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

bool CanMove { get; }

Property Value

Type: System.Boolean

true if the element can be moved; otherwise false.

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

/// <summary>
/// Specifies whether moving is supported.
/// </summary>
bool ITransformProvider.CanMove
{
    get
    {
        return true;
    }
}

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