New to Telerik UI for WPFStart a free 30-day trial

Provides a class that exposes the RadGanttView to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class RadGanttViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

Inheritance: objectRadGanttViewAutomationPeer

Implements: ISelectionProvider

Constructors

Initializes a new instance of the RadGanttViewAutomationPeer class.

C#
public RadGanttViewAutomationPeer(RadGanttView owner, GanttItemsPresenter itemsPresenter)
Parameters:ownerRadGanttView

The owner.

itemsPresenterGanttItemsPresenter

Properties

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

C#
public bool CanSelectMultiple { get; }
Property Value:

True if multiple selection is allowed; otherwise false.

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

C#
public bool IsSelectionRequired { get; }
Property Value:

true if selection is required; otherwise false.

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

A value of the enumeration.

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().

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

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

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

C#
protected override string GetClassNameCore()
Returns:

string

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

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

Gets the pattern.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object

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

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.