C1.Silverlight Namespace > C1TextEditableContentControl Class : TextEdited Event |
'Declaration
Public Event TextEdited As System.EventHandler(Of TextEditedEventArgs)
'Usage
Dim instance As C1TextEditableContentControl Dim handler As System.EventHandler(Of TextEditedEventArgs) AddHandler instance.TextEdited, handler
public event System.EventHandler<TextEditedEventArgs> TextEdited
The event handler receives an argument of type TextEditedEventArgs containing data related to this event. The following TextEditedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Cancel the input of the new text. |
CurrentSelectionStart | Current selection start. |
CurrentText | Current text. |
LastKey | Gets or sets the last key. |
NewSelectionStart | Index where the selection will start after the AutoComplete. |
NewText | Text that will be put in the control after the AutoComplete. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2