Class
RibbonWindowAutomationPeer

Automation peer for the RadRibbonWindow class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
public class RibbonWindowAutomationPeer : WindowAutomationPeer, ITransformProvider, IWindowProvider

Inheritance: objectRibbonWindowAutomationPeer

Implements: ITransformProviderIWindowProvider

Constructors

RibbonWindowAutomationPeer(RadRibbonWindow)

Initializes a new instance of the RibbonWindowAutomationPeer class.

Declaration

cs-api-definition
public RibbonWindowAutomationPeer(RadRibbonWindow owner)

Parameters

owner

RadRibbonWindow

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.

Declaration

cs-api-definition
public bool CanMove { get; }

Property Value

bool

CanResize

ITransformProvider implementation. Gets a value that indicates whether the UI Automation element can be resized.

Declaration

cs-api-definition
public bool CanResize { get; }

Property Value

bool

CanRotate

ITransformProvider implementation. Gets a value that indicates whether the control can be rotated.

Declaration

cs-api-definition
public bool CanRotate { get; }

Property Value

bool

InteractionState

IWindowProvider implementation. Gets the interaction state of the window.

Declaration

cs-api-definition
public WindowInteractionState InteractionState { get; }

Property Value

WindowInteractionState

IsModal

IWindowProvider implementation. Gets a value that specifies whether the window is modal.

Declaration

cs-api-definition
public bool IsModal { get; }

Property Value

bool

IsTopmost

IWindowProvider implementation. Gets a value that specifies whether the window is the topmost element in the z-order.

Declaration

cs-api-definition
public bool IsTopmost { get; }

Property Value

bool

Maximizable

IWindowProvider implementation. Gets a value that specifies whether the window can be maximized.

Declaration

cs-api-definition
public bool Maximizable { get; }

Property Value

bool

Minimizable

IWindowProvider implementation. Gets a value that specifies whether the window can be minimized.

Declaration

cs-api-definition
public bool Minimizable { get; }

Property Value

bool

VisualState

IWindowProvider implementation. Gets the visual state of the window.

Declaration

cs-api-definition
public WindowVisualState VisualState { get; }

Property Value

WindowVisualState

Methods

Close()

IWindowProvider implementation.

Declaration

cs-api-definition
public void Close()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets a control pattern that is associated with this AutomationPeer.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

One of the enumeration values that indicates the control pattern.

Returns

object

The object that implements the pattern interface, or null.

Move(double, double)

ITransformProvider implementation. Moves the control.

Declaration

cs-api-definition
public void Move(double x, double y)

Parameters

x

double

The absolute screen coordinates of the left side of the control.

y

double

The absolute screen coordinates of the top of the control.

Resize(double, double)

ITransformProvider implementation. Resizes the control.

Declaration

cs-api-definition
public void Resize(double width, double height)

Parameters

width

double

The new width of the window, in pixels.

height

double

The new height of the window, in pixels.

Rotate(double)

ITransformProvider implementation. Rotates the control. Still not supported.

Declaration

cs-api-definition
public void Rotate(double degrees)

Parameters

degrees

double

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

cs-api-definition
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

cs-api-definition
public bool WaitForInputIdle(int milliseconds)

Parameters

milliseconds

int

The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is System.Int32.MaxValue.

Returns

bool

True if the window has entered the idle state; false if the timeout occurred.