• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GanttGridAutomationPeer

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

Inheritance
System.Object
GanttGridAutomationPeer
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.GanttView.dll

Syntax

public class GanttGridAutomationPeer : AutomationPeer, ITableProvider, IGridProvider, IScrollProvider

Constructors

GanttGridAutomationPeer(GanttItemsPresenter)

Initializes a new instance of the GanttGridAutomationPeer class.

Declaration
public GanttGridAutomationPeer(GanttItemsPresenter owner)
Parameters
GanttItemsPresenter owner

The owner.

Properties

ColumnCount

Gets the total number of columns in a grid.

Declaration
public int ColumnCount { get; }
Property Value
System.Int32

The total number of columns in a grid.

HorizontallyScrollable

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

Declaration
public bool HorizontallyScrollable { get; }
Property Value
System.Boolean

true if the control can scroll horizontally; otherwise false.

HorizontalScrollPercent

Gets the current horizontal scroll position.

Declaration
public double HorizontalScrollPercent { get; }
Property Value
System.Double

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

HorizontalViewSize

Gets the current horizontal view size.

Declaration
public double HorizontalViewSize { get; }
Property Value
System.Double

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

RowCount

Gets the total number of rows in a grid.

Declaration
public int RowCount { get; }
Property Value
System.Int32

The total number of rows in a grid.

RowOrColumnMajor

Retrieves the primary direction of traversal for the table.

Declaration
public RowOrColumnMajor RowOrColumnMajor { get; }
Property Value
System.Windows.Automation.RowOrColumnMajor

The primary direction of traversal.

VerticallyScrollable

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

Declaration
public bool VerticallyScrollable { get; }
Property Value
System.Boolean

true if the control can scroll vertically; otherwise false.

VerticalScrollPercent

Gets the current vertical scroll position.

Declaration
public double VerticalScrollPercent { get; }
Property Value
System.Double

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

VerticalViewSize

Gets the vertical view size.

Declaration
public double VerticalViewSize { get; }
Property Value
System.Double

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

Methods

GetAcceleratorKeyCore()

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

Declaration
protected override string GetAcceleratorKeyCore()
Returns
System.String

The accelerator key.

GetAccessKeyCore()

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

Declaration
protected override string GetAccessKeyCore()
Returns
System.String

The string that contains the access key.

GetAutomationControlTypeCore()

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

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType

The control type.

GetAutomationIdCore()

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

Declaration
protected override string GetAutomationIdCore()
Returns
System.String

The string that contains the identifier.

GetBoundingRectangleCore()

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

Declaration
protected override Rect GetBoundingRectangleCore()
Returns
System.Windows.Rect

The bounding rectangle.

GetChildrenCore()

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

Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>

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

GetClassNameCore()

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.

Declaration
protected override string GetClassNameCore()
Returns
System.String

The class name.

GetClickablePointCore()

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

Declaration
protected override Point GetClickablePointCore()
Returns
System.Windows.Point

A point within the clickable area of the element.

GetColumnHeaders()

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

Declaration
public IRawElementProviderSimple[] GetColumnHeaders()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]

A collection of UI Automation providers.

GetHelpTextCore()

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

Declaration
protected override string GetHelpTextCore()
Returns
System.String

The help text.

GetItem(Int32, Int32)

Retrieves the UI Automation provider for the specified cell.

Declaration
public IRawElementProviderSimple GetItem(int row, int column)
Parameters
System.Int32 row

The ordinal number of the row of interest.

System.Int32 column

The ordinal number of the column of interest.

Returns
System.Windows.Automation.Provider.IRawElementProviderSimple

The UI Automation provider for the specified cell.

GetItemStatusCore()

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

Declaration
protected override string GetItemStatusCore()
Returns
System.String

The status.

GetItemTypeCore()

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

Declaration
protected override string GetItemTypeCore()
Returns
System.String

The kind of item.

GetLabeledByCore()

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

Declaration
protected override AutomationPeer GetLabeledByCore()
Returns
System.Windows.Automation.Peers.AutomationPeer

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

GetLocalizedControlTypeCore()

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

Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String

The type of the control.

GetNameCore()

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

Declaration
protected override string GetNameCore()
Returns
System.String

The string that contains the label.

GetOrientationCore()

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

Declaration
protected override AutomationOrientation GetOrientationCore()
Returns
System.Windows.Automation.Peers.AutomationOrientation

The orientation of the control.

GetPattern(PatternInterface)

Gets the pattern.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface patternInterface

Returns
System.Object

GetRowHeaders()

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

Declaration
public IRawElementProviderSimple[] GetRowHeaders()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]

A collection of UI Automation providers.

HasKeyboardFocusCore()

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

Declaration
protected override bool HasKeyboardFocusCore()
Returns
System.Boolean

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

IsContentElementCore()

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

Declaration
protected override bool IsContentElementCore()
Returns
System.Boolean

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

IsControlElementCore()

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

Declaration
protected override bool IsControlElementCore()
Returns
System.Boolean

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

IsEnabledCore()

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

Declaration
protected override bool IsEnabledCore()
Returns
System.Boolean

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

IsKeyboardFocusableCore()

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

Declaration
protected override bool IsKeyboardFocusableCore()
Returns
System.Boolean

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

IsOffscreenCore()

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

Declaration
protected override bool IsOffscreenCore()
Returns
System.Boolean

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

IsPasswordCore()

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

Declaration
protected override bool IsPasswordCore()
Returns
System.Boolean

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

IsRequiredForFormCore()

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

Declaration
protected override bool IsRequiredForFormCore()
Returns
System.Boolean

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

Scroll(ScrollAmount, ScrollAmount)

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

Declaration
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters
System.Windows.Automation.ScrollAmount horizontalAmount

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.

System.Windows.Automation.ScrollAmount verticalAmount

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.

SetFocusCore()

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

Declaration
protected override void SetFocusCore()

SetScrollPercent(Double, Double)

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

Declaration
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters
System.Double horizontalPercent

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.

System.Double verticalPercent

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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.