Provides a class that exposes the RadGanttView to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class RadGanttViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider
Inheritance: objectRadGanttViewAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadGanttViewAutomationPeer class.
public RadGanttViewAutomationPeer(RadGanttView owner, GanttItemsPresenter itemsPresenter)
The owner.
itemsPresenterGanttItemsPresenterProperties
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
public bool CanSelectMultiple { get; }
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.
public bool IsSelectionRequired { get; }
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 .
protected override AutomationControlType GetAutomationControlTypeCore()
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().
protected override List<AutomationPeer> GetChildrenCore()
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 .
protected override string GetClassNameCore()
The name of the owner type that is associated with this . See Remarks.
When overridden in a derived class, is called by .
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
A collection of UI Automation providers.