ClassRadMaskedInput
Represents the Silverlight MaskedInput control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml.Wpf
Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll
Syntax:
public class RadMaskedInput : Control, IAutomationPeer, IPeerConverter, IRadMaskedInput, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlRadMaskedInput
Derived Classes:
Implements:
Inherited Members
Constructors
RadMaskedInput()
Initializes a new instance of the RadMaskedInput class.
Declaration
public RadMaskedInput()
Fields
selectionStartProperty
Declaration
public static AutomationProperty selectionStartProperty
Field Value
textProperty
Declaration
public static AutomationProperty textProperty
Field Value
valueProperty
Declaration
public static AutomationProperty valueProperty
Field Value
Properties
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.
Mask
Gets the currently set mask. Uses an automation property, e.g. getting the value from a control property.
SelectionStart
Gets the int value indicating the position of the caret
Text
Get the current masked input control's text.
Declaration
public override string Text { get; }
Property Value
Overrides
Implements
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 input box.