Represents the automation peer for the RadListBox control, enabling accessibility features and interactions with UI Automation clients. This class provides various functionalities, including retrieving selection details, scrolling capabilities, and exposing custom properties of the control for automation purposes. It inherits from ItemsControlAutomationPeer and implements interfaces ISelectionProvider and IScrollProvider.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadListBoxAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider
Inheritance: objectRadListBoxAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadListBoxAutomationPeer class.
Properties
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
public bool CanSelectMultiple { get; }
Gets a value that indicates whether the control can scroll horizontally.
public bool HorizontallyScrollable { get; }
Gets the current horizontal scroll position.
public double HorizontalScrollPercent { get; }
Gets the current horizontal view size.
public double HorizontalViewSize { get; }
Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
public bool IsSelectionRequired { get; }
Gets a value that indicates whether the control can scroll vertically.
public bool VerticallyScrollable { get; }
Gets the current vertical scroll position.
public double VerticalScrollPercent { get; }
Gets the vertical view size.
public double VerticalViewSize { get; }
Methods
CreateItemAutomationPeer(object)
ItemAutomationPeer
Creates a new instance of the System.Windows.Automation.Peers.ItemAutomationPeer for a data item in the System.Windows.Controls.ItemsControl.Items collection of this System.Windows.Controls.ItemsControl.
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
ItemAutomationPeer
GetAutomationControlTypeCore()
AutomationControlType
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
When overridden in a derived class, is called by .
GetOrientationCore()
AutomationOrientation
Gets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is laid out in a specific direction. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().
protected override AutomationOrientation GetOrientationCore()
AutomationOrientation
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
GetSelection()
IRawElementProviderSimple[]
Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
Scrolls the visible region of the content area horizontally and vertically.
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)