ClassRadCarouselAutomationPeer
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:
public class RadCarouselAutomationPeer : FrameworkElementAutomationPeer
Inheritance: objectRadCarouselAutomationPeer
Constructors
RadCarouselAutomationPeer(RadCarousel)
Initializes a new instance of the RadCarouselAutomationPeer class.
Declaration
public RadCarouselAutomationPeer(RadCarousel owner)
Parameters
owner
The owner.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>