Class
RadGanttViewAutomationPeer

Provides a class that exposes the RadGanttView to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public class RadGanttViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

Inheritance: objectRadGanttViewAutomationPeer

Implements: ISelectionProvider

Constructors

RadGanttViewAutomationPeer(RadGanttView, GanttItemsPresenter)

Initializes a new instance of the RadGanttViewAutomationPeer class.

Declaration

cs-api-definition
public RadGanttViewAutomationPeer(RadGanttView owner, GanttItemsPresenter itemsPresenter)

Parameters

owner

RadGanttView

The owner.

itemsPresenter

GanttItemsPresenter

Properties

CanSelectMultiple

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration

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

Property Value

bool

True if multiple selection is allowed; otherwise false.

IsSelectionRequired

Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

Declaration

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

Property Value

bool

true if selection is required; otherwise false.

Methods

GetAutomationControlTypeCore()

Returns the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

A value of the enumeration.

GetChildrenCore()

Gets the collection of child elements of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren().

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child System.Windows.Automation.Peers.AutomationPeer elements.

GetClassNameCore()

Returns the name of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The name of the owner type that is associated with this . See Remarks.

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

GetPattern(PatternInterface)

Gets the pattern.

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

GetSelection()

Retrieves a UI Automation provider for each child element that is selected.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.