ClassRadMaskedTextBox
Represents the Silverlight MaskedTextBox control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadMaskedTextBox : Control, IAutomationPeer, IPeerConverter, IRadMaskedTextBox, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlRadMaskedTextBox
Implements:
Inherited Members
Constructors
RadMaskedTextBox()
Initializes a new instance of the RadMaskedTextBox class.
Declaration
public RadMaskedTextBox()
Properties
IsEmpty
Gets a value indicating whether the Value is empty (null). Uses an automation property, e.g. getting the value from a control property.
IsFocused
Gets the bool value indicating whether the control is focused or not. Uses an automation property, e.g. getting the value from a control property.
IsReadOnly
Gets a value determining if the user can change the text in the text box. Uses an automation property, e.g. getting the value from a control property.
Mask
Gets the currently set mask. Uses an automation property, e.g. getting the value from a control property.
SelectionLength
Get the selection length value of the MaskedTextBox control. Uses an automation property, e.g. getting the value from a control property.
SelectionStart
Get the selection start value of the MaskedTextBox control. Uses an automation property, e.g. getting the value from a control property.
Methods
MouseClick(MouseClickType)
Triggers mouse click on the text box from the given type.
Declaration
public void MouseClick(MouseClickType clickType)
Parameters
clickType
The type of the mouse click.
MouseClick(MouseClickType, int)
Triggers mouse click from the given type on a text box position calculated with the given offset from the top left of the text box.
Declaration
public void MouseClick(MouseClickType clickType, int offset)
Parameters
clickType
The mouse click type.
offset
The offset from the top left of the text box to click on.
MouseClick(MouseClickType, int, bool)
Triggers mouse click from the given type on a text box position calculated with the given offset from the top left or right of the text box.
Declaration
public void MouseClick(MouseClickType clickType, int offset, bool offsetFromLeft)
Parameters
clickType
The mouse click type.
offset
The offset to calculate the click point from.
offsetFromLeft
Whether to add the offset from the bottom left or bottom right of the text box.
Implements
TypeText(string, int)
Simulates user typing text into the masked text box.