ClassRadTimeSpanPicker
Represents the TimeSpanPicker control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml.Wpf
Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll
Syntax:
public class RadTimeSpanPicker : Control, IAutomationPeer, IPeerConverter, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlRadTimeSpanPicker
Implements:
Inherited Members
Constructors
RadTimeSpanPicker()
Initializes a new instance of the TimeSpanPicker class.
Declaration
public RadTimeSpanPicker()
Properties
ClearButton
Get the TimeSpanPicker Clear button located in the drop down.
CloseButton
Get the TimeSpanPicker Close button located in the drop down.
Components
Get the list of all RadTimeSpanPicker components.
Declaration
public IList<RadTimeSpanPickerComponent> Components { get; }
Property Value
Culture
Gets the Culture representation of the TimeSpanPicker.
IsDropDownOpen
Get whether the TimeSpanPicker popup is opened. Returns 'false' also if the popup cannot be found with the current control template.
Text
Get the text of the TimeSpanPicker input text box.
Value
Gets the TimeSpanPicker selected value via an automation property.
WatermarkTextBoxElement
Get the TimeSpanPicker watermark text box.
Declaration
public IRadWatermarkTextBox WatermarkTextBoxElement { get; }
Property Value
Methods
AssignReference(AutomationReference)
Assign the reference and perform your custom class initialization.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
Overrides
ClickClearButton()
Simulates user clicking on the Clear button located in the drop down.
Declaration
public void ClickClearButton()
ClickCloseButton()
Simulates user clicking on the Close button located in the drop down.
Declaration
public void ClickCloseButton()
GetTimeSpanPickerComponent(int)
Get TimeSpanPickerComponent by index.
The index of the component.Declaration
public RadTimeSpanPickerComponent GetTimeSpanPickerComponent(int index)
Parameters
index
Returns
GetTimeSpanPickerComponent(string)
Get TimeSpanPickerComponent by header.
The header of the component.Declaration
public RadTimeSpanPickerComponent GetTimeSpanPickerComponent(string header)
Parameters
header
Returns
IsItemInComponentSelected(string, string)
Checks if an item in sepsific component is selected. Returns true if the item is selected and false if it is not selected.
SelectItemInTimeSpanComponent(string, string)
Select item in spesific TimeSpanPickerComponent.
SelectItemInTimeSpanComponent(string, string, ListBoxSelectionModifierKey)
Simulate user selecting the item with the given text using modifier key.
Declaration
public void SelectItemInTimeSpanComponent(string componentHeader, string itemText, ListBoxSelectionModifierKey modifier)
Parameters
componentHeader
The header of the component.
itemText
The text of the item to be selected.
modifier
The modifier key that is used.
TogglePopup()
Simulates user clicking on the DropDownButton.
Declaration
public void TogglePopup()