An AutomationPeer type for the CarouselItem type.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class CarouselItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider
Inheritance: objectCarouselItemAutomationPeer
Implements:
Constructors
Initializes a new instance of the CarouselItemAutomationPeer class.
Properties
Gets a value indicating whether the item is selected in the carousel.
public bool IsSelected { get; }
SelectionContainer
IRawElementProviderSimple
Gets the selection container for the CarouselItemAutomationPeer.
public IRawElementProviderSimple SelectionContainer { get; }
Methods
Adds the current CarouselItem to the selection.
public void AddToSelection()
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Retrieves the specified automation pattern for the CarouselItem automation peer.
public override object GetPattern(PatternInterface patternInterface)
The type of automation pattern to retrieve.
Returns:The requested automation pattern, if available; otherwise, null.
Removes the current item from the selection in the carousel.
public void RemoveFromSelection()
This method will update the selection state of the carousel item, ensuring that it is no longer considered part of the selected items.
Selects the current carousel item, making it the active item in the carousel.
public void Select()