Class
RadCarouselAutomationPeer

Represents the automation peer for the RadCarousel class, enabling UI Automation support for the RadCarousel control. This class provides methods to retrieve the control type, class name, and accessibility information for the carousel's children items. It overrides base methods to provide a collection of child automation peers, and encapsulates properties of the owning carousel, such as item selection and scrolling capabilities. This class is particularly useful in applications where UI Automation is required for accessibility tools, enabling users to interact with carousel elements programmatically.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadCarouselAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadCarouselAutomationPeer

Constructors

RadCarouselAutomationPeer(RadCarousel)

Initializes a new instance of the RadCarouselAutomationPeer class.

Declaration

cs-api-definition
public RadCarouselAutomationPeer(RadCarousel owner)

Parameters

owner

RadCarousel

The owner.

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string