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

Provides a class that exposes the grid section of RadGanttView to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class GanttGridAutomationPeer : AutomationPeer, IGridProvider, ITableProvider, IScrollProvider

Inheritance: objectGanttGridAutomationPeer

Implements: IGridProviderIScrollProviderITableProvider

Constructors

Initializes a new instance of the GanttGridAutomationPeer class.

C#
public GanttGridAutomationPeer(GanttItemsPresenter owner)
Parameters:ownerGanttItemsPresenter

The owner.

Properties

Gets the total number of columns in a grid.

C#
public int ColumnCount { get; }
Property Value:

The total number of columns in a grid.

Gets a value that indicates whether the control can scroll horizontally.

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

true if the control can scroll horizontally; otherwise false.

Gets the current horizontal scroll position.

C#
public double HorizontalScrollPercent { get; }
Property Value:

The horizontal scroll position as a percentage of the total content area within the control.

Gets the current horizontal view size.

C#
public double HorizontalViewSize { get; }
Property Value:

The horizontal size of the viewable region as a percentage of the total content area within the control.

Gets the total number of rows in a grid.

C#
public int RowCount { get; }
Property Value:

The total number of rows in a grid.

RowOrColumnMajor

RowOrColumnMajor

Retrieves the primary direction of traversal for the table.

C#
public RowOrColumnMajor RowOrColumnMajor { get; }
Property Value:

The primary direction of traversal.

Gets a value that indicates whether the control can scroll vertically.

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

true if the control can scroll vertically; otherwise false.

Gets the current vertical scroll position.

C#
public double VerticalScrollPercent { get; }
Property Value:

The vertical scroll position as a percentage of the total content area within the control.

Gets the vertical view size.

C#
public double VerticalViewSize { get; }
Property Value:

The vertical size of the viewable region as a percentage of the total content area within the control.

Methods

Gets the accelerator key combinations for the element that is associated with the UI Automation peer.

C#
protected override string GetAcceleratorKeyCore()
Returns:

string

The accelerator key.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAccessKey().

C#
protected override string GetAccessKeyCore()
Returns:

string

The string that contains the access key.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The control type.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationId().

C#
protected override string GetAutomationIdCore()
Returns:

string

The string that contains the identifier.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetBoundingRectangle().

C#
protected override Rect GetBoundingRectangleCore()
Returns:

Rect

The bounding rectangle.

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.

Gets a name that is used with System.Windows.Automation.Peers.AutomationControlType, to differentiate the control that is represented by this System.Windows.Automation.Peers.AutomationPeer.

C#
protected override string GetClassNameCore()
Returns:

string

The class name.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetClickablePoint().

C#
protected override Point GetClickablePointCore()
Returns:

Point

A point within the clickable area of the element.

Gets a collection of UI Automation providers that represents all the column headers in a table.

C#
public IRawElementProviderSimple[] GetColumnHeaders()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText().

C#
protected override string GetHelpTextCore()
Returns:

string

The help text.

Retrieves the UI Automation provider for the specified cell.

C#
public IRawElementProviderSimple GetItem(int row, int column)
Parameters:rowint

The ordinal number of the row of interest.

columnint

The ordinal number of the column of interest.

Returns:

IRawElementProviderSimple

The UI Automation provider for the specified cell.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetItemStatus().

C#
protected override string GetItemStatusCore()
Returns:

string

The status.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetItemType().

C#
protected override string GetItemTypeCore()
Returns:

string

The kind of item.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLabeledBy().

C#
protected override AutomationPeer GetLabeledByCore()
Returns:

AutomationPeer

The System.Windows.Automation.Peers.LabelAutomationPeer for the element that is targeted by the System.Windows.Controls.Label.

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetName().

C#
protected override string GetNameCore()
Returns:

string

The string that contains the label.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().

C#
protected override AutomationOrientation GetOrientationCore()
Returns:

AutomationOrientation

The orientation of the control.

Gets the pattern.

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

object

Retrieves a collection of UI Automation providers that represents all row headers in the table.

C#
public IRawElementProviderSimple[] GetRowHeaders()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.HasKeyboardFocus().

C#
protected override bool HasKeyboardFocusCore()
Returns:

bool

True if the element has keyboard focus; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsContentElement().

C#
protected override bool IsContentElementCore()
Returns:

bool

True if the element is a content element; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsControlElement().

C#
protected override bool IsControlElementCore()
Returns:

bool

True if the element is a control; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsEnabled().

C#
protected override bool IsEnabledCore()
Returns:

bool

True if the automation peer can receive and send events; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsKeyboardFocusable().

C#
protected override bool IsKeyboardFocusableCore()
Returns:

bool

True if the element can accept keyboard focus; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsOffscreen().

C#
protected override bool IsOffscreenCore()
Returns:

bool

True if the element is not on the screen otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsPassword().

C#
protected override bool IsPasswordCore()
Returns:

bool

True if the element contains sensitive content; otherwise, false.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsRequiredForForm().

C#
protected override bool IsRequiredForFormCore()
Returns:

bool

True if the element is must be completed; otherwise, false.

Scrolls the visible region of the content area horizontally and vertically.

C#
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters:horizontalAmountScrollAmount

The horizontal increment specific to the control. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.

verticalAmountScrollAmount

The vertical increment specific to the control. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.SetFocus().

C#
protected override void SetFocusCore()

Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

C#
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters:horizontalPercentdouble

The horizontal position as a percentage of the content area's total range. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.

verticalPercentdouble

The vertical position as a percentage of the content area's total range. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.