Class RibbonWindowAutomationPeer
Automation peer for the Rad
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RibbonWindowAutomationPeer : WindowAutomationPeer, ITransformProvider, IWindowProvider
Constructors
RibbonWindowAutomationPeer(RadRibbonWindow)
Initializes a new instance of the Ribbon
Declaration
public RibbonWindowAutomationPeer(RadRibbonWindow owner)
Parameters
Rad The Rad |
Properties
CanMove
ITransformProvider implementation. Gets a value that indicates whether the control can be moved.
Declaration
public bool CanMove { get; }
Property Value
System.
|
CanResize
ITransformProvider implementation. Gets a value that indicates whether the UI Automation element can be resized.
Declaration
public bool CanResize { get; }
Property Value
System.
|
CanRotate
ITransformProvider implementation. Gets a value that indicates whether the control can be rotated.
Declaration
public bool CanRotate { get; }
Property Value
System.
|
InteractionState
IWindowProvider implementation. Gets the interaction state of the window.
Declaration
public WindowInteractionState InteractionState { get; }
Property Value
System.
|
IsModal
IWindowProvider implementation. Gets a value that specifies whether the window is modal.
Declaration
public bool IsModal { get; }
Property Value
System.
|
IsTopmost
IWindowProvider implementation. Gets a value that specifies whether the window is the topmost element in the z-order.
Declaration
public bool IsTopmost { get; }
Property Value
System.
|
Maximizable
IWindowProvider implementation. Gets a value that specifies whether the window can be maximized.
Declaration
public bool Maximizable { get; }
Property Value
System.
|
Minimizable
IWindowProvider implementation. Gets a value that specifies whether the window can be minimized.
Declaration
public bool Minimizable { get; }
Property Value
System.
|
VisualState
IWindowProvider implementation. Gets the visual state of the window.
Declaration
public WindowVisualState VisualState { get; }
Property Value
System.
|
Methods
Close()
IWindowProvider implementation.
Declaration
public void Close()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.
|
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.
|
GetPattern(PatternInterface)
Gets a control pattern that is associated with this AutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System. One of the enumeration values that indicates the control pattern. |
Returns
System. The object that implements the pattern interface, or null. |
Move(Double, Double)
ITransformProvider implementation. Moves the control.
Declaration
public void Move(double x, double y)
Parameters
System. The absolute screen coordinates of the left side of the control. |
System. The absolute screen coordinates of the top of the control. |
Resize(Double, Double)
ITransformProvider implementation. Resizes the control.
Declaration
public void Resize(double width, double height)
Parameters
System. The new width of the window, in pixels. |
System. The new height of the window, in pixels. |
Rotate(Double)
ITransformProvider implementation. Rotates the control. Still not supported.
Declaration
public void Rotate(double degrees)
Parameters
System. 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
System. The visual state of the window to change to. |
WaitForInputIdle(Int32)
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
System. The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is System.Int32.MaxValue. |
Returns
System. True if the window has entered the idle state; false if the timeout occurred. |