Class GanttTaskProvider
Provides a class that represents a provider for current item of the RadGanttView grid section.
Inherited Members
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class GanttTaskProvider : SimpleProviderBase, IRawElementProviderSimple, ISelectionItemProvider
Constructors
GanttTaskProvider(IGanttTask, GanttItemsPresenter)
Initializes a new instance of the GanttTaskProvider class.
Declaration
public GanttTaskProvider(IGanttTask ganttTask, GanttItemsPresenter presenter)
Parameters
IGanttTask
ganttTask
|
GanttItemsPresenter
presenter
|
Properties
IsSelected
Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
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
System.Windows.Automation.Provider.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
System.String
The title of the Gantt task. |
Overrides
GetPatternProvider(Int32)
Returns the object that supports the specified pattern.
Declaration
public override object GetPatternProvider(int patternId)
Parameters
System.Int32
patternId
ID of the pattern. |
Returns
System.Object
Object that implements IInvokeProvider. |
Overrides
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()