ClassRadDateRangePickerAutomationPeer
The AutomationPeer associated with the RadDateRangePicker class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class RadDateRangePickerAutomationPeer : FrameworkElementAutomationPeer, IValueProvider, ISelectionProvider, IExpandCollapseProvider
Inheritance: objectRadDateRangePickerAutomationPeer
Implements:
Constructors
RadDateRangePickerAutomationPeer(RadDateRangePicker)
Initializes a new instance of the RadDateRangePickerAutomationPeer class.
Declaration
public RadDateRangePickerAutomationPeer(RadDateRangePicker owner)
Parameters
owner
The RadDateRangePicker 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
true if multiple selection is allowed; otherwise false.
ExpandCollapseState
IExpandCollapseProvider implementation.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
ExpandCollapseState
IsReadOnly
IValueProvider implementation.
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
true if selection is required; otherwise false.
Methods
Collapse()
IExpandCollapseProvider implementation.
Declaration
public void Collapse()
GetAutomationControlTypeCore()
Returns the control type for the UIElement associated with this AutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Gets the collection of child elements of the UIElement that is associated with this . This method is called by .
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
A list of child AutomationPeer elements.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetPattern(PatternInterface)
Gets a control pattern that is associated with this AutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
One of the enumeration values that indicates the control pattern.
Returns
The object that implements the pattern interface, or null.
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.
SetValue(string)
IValueProvider implementation.