ClassGanttTaskProvider
Provides a class that represents a provider for current item of the RadGanttView grid section.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class GanttTaskProvider : SimpleProviderBase, IRawElementProviderSimple, ISelectionItemProvider
Inheritance: objectSimpleProviderBaseGanttTaskProvider
Implements:
Inherited Members
Constructors
GanttTaskProvider(IGanttTask, GanttItemsPresenter)
Initializes a new instance of the GanttTaskProvider class.
Declaration
public GanttTaskProvider(IGanttTask ganttTask, GanttItemsPresenter presenter)
Parameters
ganttTask
presenter
Properties
IsSelected
Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
true if the element is selected; otherwise false.
SelectionContainer
Gets the UI Automation provider that implements System.Windows.Automation.Provider.ISelectionProvider and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
IRawElementProviderSimple
The provider that supports System.Windows.Automation.Provider.ISelectionProvider.
Methods
AddToSelection()
Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetName()
Gets the content of the associated Gantt task.
Declaration
protected override string GetName()
Returns
The title of the Gantt task.
Overrides
GetPatternProvider(int)
Returns the object that supports the specified pattern.
RemoveFromSelection()
Removes the current element from the collection of selected items.
Declaration
public void RemoveFromSelection()
Select()
Deselects any selected items and then selects the current element.
Declaration
public void Select()