ClassRibbonWindowAutomationPeer
Automation peer for the RadRibbonWindow class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
public class RibbonWindowAutomationPeer : WindowAutomationPeer, ITransformProvider, IWindowProvider
Inheritance: objectRibbonWindowAutomationPeer
Implements:
Constructors
RibbonWindowAutomationPeer(RadRibbonWindow)
Initializes a new instance of the RibbonWindowAutomationPeer class.
Declaration
public RibbonWindowAutomationPeer(RadRibbonWindow owner)
Parameters
owner
The RadRibbonWindow that will be associated with newly created object.
Properties
CanMove
ITransformProvider implementation. Gets a value that indicates whether the control can be moved.
CanResize
ITransformProvider implementation. Gets a value that indicates whether the UI Automation element can be resized.
CanRotate
ITransformProvider implementation. Gets a value that indicates whether the control can be rotated.
InteractionState
IWindowProvider implementation. Gets the interaction state of the window.
Declaration
public WindowInteractionState InteractionState { get; }
Property Value
WindowInteractionState
IsModal
IWindowProvider implementation. Gets a value that specifies whether the window is modal.
IsTopmost
IWindowProvider implementation. Gets a value that specifies whether the window is the topmost element in the z-order.
Maximizable
IWindowProvider implementation. Gets a value that specifies whether the window can be maximized.
Minimizable
IWindowProvider implementation. Gets a value that specifies whether the window can be minimized.
VisualState
IWindowProvider implementation. Gets the visual state of the window.
Declaration
public WindowVisualState VisualState { get; }
Property Value
WindowVisualState
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetPattern(PatternInterface)
Gets a control pattern that is associated with this AutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
One of the enumeration values that indicates the control pattern.
Returns
The object that implements the pattern interface, or null.
Move(double, double)
ITransformProvider implementation. Moves the control.
Resize(double, double)
ITransformProvider implementation. Resizes the control.
Rotate(double)
ITransformProvider implementation. Rotates the control. Still not supported.
Declaration
public void Rotate(double degrees)
Parameters
degrees
The number of degrees to rotate the control. A positive number rotates the control clockwise. A negative number rotates the control counterclockwise.
SetVisualState(WindowVisualState)
IWindowProvider implementation.
Declaration
public void SetVisualState(WindowVisualState state)
Parameters
state
WindowVisualState
The visual state of the window to change to.
WaitForInputIdle(int)
IWindowProvider implementation. Blocks the calling code for the specified time or until the associated process enters an idle state, whichever completes first.
Declaration
public bool WaitForInputIdle(int milliseconds)
Parameters
milliseconds
The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is System.Int32.MaxValue.
Returns
True if the window has entered the idle state; false if the timeout occurred.