Class RadListBoxAutomationPeer
Represents automation peer for RadListBoxAutomationPeer.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadListBoxAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider
Constructors
RadListBoxAutomationPeer(RadListBox)
Initializes a new instance of the RadListBoxAutomationPeer class.
Declaration
public RadListBoxAutomationPeer(RadListBox owner)
Parameters
RadListBox
owner
The owner. |
Properties
CanSelectMultiple
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
Declaration
public bool CanSelectMultiple { get; }
Property Value
System.Boolean
|
HorizontallyScrollable
Gets a value that indicates whether the control can scroll horizontally.
Declaration
public bool HorizontallyScrollable { get; }
Property Value
System.Boolean
|
HorizontalScrollPercent
Gets the current horizontal scroll position.
Declaration
public double HorizontalScrollPercent { get; }
Property Value
System.Double
|
HorizontalViewSize
Gets the current horizontal view size.
Declaration
public double HorizontalViewSize { get; }
Property Value
System.Double
|
IsSelectionRequired
Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
Declaration
public bool IsSelectionRequired { get; }
Property Value
System.Boolean
|
VerticallyScrollable
Gets a value that indicates whether the control can scroll vertically.
Declaration
public bool VerticallyScrollable { get; }
Property Value
System.Boolean
|
VerticalScrollPercent
Gets the current vertical scroll position.
Declaration
public double VerticalScrollPercent { get; }
Property Value
System.Double
|
VerticalViewSize
Gets the vertical view size.
Declaration
public double VerticalViewSize { get; }
Property Value
System.Double
|
Methods
CreateItemAutomationPeer(Object)
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.
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
System.Object
item
|
Returns
System.Windows.Automation.Peers.ItemAutomationPeer
|
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
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
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. |
GetOrientationCore()
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().
Declaration
protected override AutomationOrientation GetOrientationCore()
Returns
System.Windows.Automation.Peers.AutomationOrientation
|
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
|
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]
|
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
|
System.Windows.Automation.ScrollAmount
verticalAmount
|
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
|
System.Double
verticalPercent
|