Interface ITransformProvider
Exposes methods and properties to support access by a UI automation client to controls or elements that can be moved, resized, or rotated within a two-dimensional space.
Namespace: System.Windows.Automation.Provider
Assembly: OpenSilver.dll
Syntax
public interface ITransformProvider
Properties
| Improve this Doc View SourceCanMove
Gets a value that indicates whether the element can be moved.
Declaration
bool CanMove { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the element can be moved; otherwise, false. |
CanResize
Gets a value that indicates whether the element can be resized.
Declaration
bool CanResize { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the element can be resized; otherwise, false. |
CanRotate
Gets a value that indicates whether the element can be rotated.
Declaration
bool CanRotate { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the element can be rotated; otherwise, false. |
Methods
| Improve this Doc View SourceMove(Double, Double)
Moves the control.
Declaration
void Move(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The absolute screen coordinates of the left side of the control. |
System.Double | y | The absolute screen coordinates of the top of the control. |
Resize(Double, Double)
Resizes the control.
Declaration
void Resize(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | The new width of the window, in pixels. |
System.Double | height | The new height of the window, in pixels. |
Rotate(Double)
Rotates the control.
Declaration
void Rotate(double degrees)
Parameters
Type | Name | Description |
---|---|---|
System.Double | degrees | The number of degrees to rotate the control. A positive number rotates the control clockwise. A negative number rotates the control counterclockwise. |