Class GridSplitterAutomationPeer
Exposes GridSplitter types to UI automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.dll
Syntax
public class GridSplitterAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, ITransformProvider
Constructors
| Improve this Doc View SourceGridSplitterAutomationPeer(GridSplitter)
Initializes a new instance of the GridSplitterAutomationPeer class.
Declaration
public GridSplitterAutomationPeer(GridSplitter owner)
Parameters
Type | Name | Description |
---|---|---|
GridSplitter | owner | The GridSplitter to associate with the GridSplitterAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with the UI Automation peer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
AutomationControlType | The control type. |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The string that contains the name. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Gets the control pattern for the GridSplitter that is associated with this GridSplitterAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
PatternInterface | patternInterface | One of the enumeration values. |
Returns
Type | Description |
---|---|
System.Object | The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceITransformProvider.CanMove
Gets a value indicating whether the control can be moved.
Declaration
bool ITransformProvider.CanMove { get; }
Returns
Type | Description |
---|---|
System.Boolean | True if the element can be moved; otherwise, false. |
ITransformProvider.CanResize
Gets a value indicating whether the UI automation element can be resized.
Declaration
bool ITransformProvider.CanResize { get; }
Returns
Type | Description |
---|---|
System.Boolean | True if the element can be resized; otherwise, false. |
ITransformProvider.CanRotate
Gets a value indicating whether the control can be rotated.
Declaration
bool ITransformProvider.CanRotate { get; }
Returns
Type | Description |
---|---|
System.Boolean | True if the element can be rotated; otherwise, false. |
ITransformProvider.Move(Double, Double)
Moves the control.
Declaration
void ITransformProvider.Move(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | Absolute screen coordinates of the left side of the control. |
System.Double | y | Absolute screen coordinates of the top of the control. |
ITransformProvider.Resize(Double, Double)
Resizes the control.
Declaration
void ITransformProvider.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. |
ITransformProvider.Rotate(Double)
Rotates the control.
Declaration
void ITransformProvider.Rotate(double degrees)
Parameters
Type | Name | Description |
---|---|---|
System.Double | degrees | The number of degrees to rotate the control. A positive number rotates clockwise; a negative number rotates counterclockwise. |