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
Initializes a new instance of the RibbonWindowAutomationPeer class.
public RibbonWindowAutomationPeer(RadRibbonWindow owner)
The RadRibbonWindow that will be associated with newly created object.
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()
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
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.