Class RibbonWindowAutomationPeer
Automation peer for the RadRibbonWindow class.
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 RibbonWindowAutomationPeer class.
Declaration
public RibbonWindowAutomationPeer(RadRibbonWindow owner)
Parameters
RadRibbonWindow
owner
The RadRibbonWindow that will be associated with newly created Telerik.Windows.Controls.RibbonView.AutomationPeers.RibbonWindowAutomationPeer object. |
Properties
CanMove
ITransformProvider implementation. Gets a value that indicates whether the control can be moved.
Declaration
public bool CanMove { get; }
Property Value
System.Boolean
|
CanResize
ITransformProvider implementation. Gets a value that indicates whether the UI Automation element can be resized.
Declaration
public bool CanResize { get; }
Property Value
System.Boolean
|
CanRotate
ITransformProvider implementation. Gets a value that indicates whether the control can be rotated.
Declaration
public bool CanRotate { get; }
Property Value
System.Boolean
|
InteractionState
IWindowProvider implementation. Gets the interaction state of the window.
Declaration
public WindowInteractionState InteractionState { get; }
Property Value
System.Windows.Automation.WindowInteractionState
|
IsModal
IWindowProvider implementation. Gets a value that specifies whether the window is modal.
Declaration
public bool IsModal { get; }
Property Value
System.Boolean
|
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.Boolean
|
Maximizable
IWindowProvider implementation. Gets a value that specifies whether the window can be maximized.
Declaration
public bool Maximizable { get; }
Property Value
System.Boolean
|
Minimizable
IWindowProvider implementation. Gets a value that specifies whether the window can be minimized.
Declaration
public bool Minimizable { get; }
Property Value
System.Boolean
|
VisualState
IWindowProvider implementation. Gets the visual state of the window.
Declaration
public WindowVisualState VisualState { get; }
Property Value
System.Windows.Automation.WindowVisualState
|
Methods
Close()
IWindowProvider implementation.
Declaration
public void Close()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.String
|
GetPattern(PatternInterface)
Gets a control pattern that is associated with this AutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the enumeration values that indicates the control pattern. |
Returns
System.Object
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.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)
ITransformProvider implementation. Resizes the control.
Declaration
public void Resize(double width, double height)
Parameters
System.Double
width
The new width of the window, in pixels. |
System.Double
height
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.Double
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
System.Windows.Automation.WindowVisualState
state
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.Int32
milliseconds
The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is System.Int32.MaxValue. |
Returns
System.Boolean
True if the window has entered the idle state; false if the timeout occurred. |