Automation Peer for the WindowBase class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class WindowBaseAutomationPeer : FrameworkElementAutomationPeer, ITransformProvider, IWindowProvider
Inheritance: objectWindowBaseAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the WindowBaseAutomationPeer class.
public WindowBaseAutomationPeer(WindowBase owner)
The owner WindowBase instance.
Properties
ITransformProvider implementation. Gets a value that indicates whether the control can be moved.
public bool CanMove { get; }
ITransformProvider implementation. Gets a value that indicates whether the UI Automation element can be resized.
public bool CanResize { get; }
ITransformProvider implementation. Gets a value that indicates whether the control can be rotated.
public bool CanRotate { get; }
InteractionState
WindowInteractionState
IWindowProvider implementation. Gets the interaction state of the window.
public WindowInteractionState InteractionState { get; }
IWindowProvider implementation. Gets a value that specifies whether the window is modal.
public bool IsModal { get; }
IWindowProvider implementation. Gets a value that specifies whether the window is the topmost element in the z-order.
public bool IsTopmost { get; }
IWindowProvider implementation. Gets a value that specifies whether the window can be maximized.
public bool Maximizable { get; }
IWindowProvider implementation. Gets a value that specifies whether the window can be minimized.
public bool Minimizable { get; }
VisualState
WindowVisualState
IWindowProvider implementation. Gets the visual state of the window.
public WindowVisualState VisualState { get; }
Methods
IWindowProvider implementation.
public void Close()
Gets the control type for the FrameworkElement associated with this AutomationPeer.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Returns the text label of the FrameworkElement associated with this AutomationPeers. Called by AutomationPeer.GetName.
protected override string GetNameCore()
A text label of the Element associated with this Automation Peer.
Gets a control pattern that is associated with this AutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
One of the enumeration values that indicates the control pattern.
Returns:The object that implements the pattern interface, or null.
ITransformProvider implementation. Rotates the control. Still not supported.
public void Rotate(double degrees)
The number of degrees to rotate the control. A positive number rotates the control clockwise. A negative number rotates the control counterclockwise.
IWindowProvider implementation.
public void SetVisualState(WindowVisualState state)
The visual state of the window to change to.
IWindowProvider implementation. Blocks the calling code for the specified time or until the associated process enters an idle state, whichever completes first.