Interface ITextSource
The base class for text sources used in autocomplete behaviors.
Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls.dll
Syntax
public interface ITextSource
Properties
SelectionLength
Gets or sets the length of the selection.
Declaration
int SelectionLength { get; set; }
Property Value
System.Int32
|
SelectionStart
Gets or sets the selection start.
Declaration
int SelectionStart { get; set; }
Property Value
System.Int32
|
Text
Gets or sets the text.
Declaration
string Text { get; set; }
Property Value
System.String
|
Methods
Clear()
Clears the current text.
Declaration
void Clear()
Events
PreviewTextChanged
Occurs when preview text is changed.
Declaration
event EventHandler<CancelEventArgs> PreviewTextChanged
Event Type
System.EventHandler<System.ComponentModel.CancelEventArgs>
|
PreviewTextChangedByUserInteraction
Occurs when preview text is changed by user interaction.
Declaration
event EventHandler<CancelEventArgs> PreviewTextChangedByUserInteraction
Event Type
System.EventHandler<System.ComponentModel.CancelEventArgs>
|
SelectionChanged
Occurs when selection is changed.
Declaration
event EventHandler SelectionChanged
Event Type
System.EventHandler
|
TextChanged
Occurs when text is changed.
Declaration
event EventHandler TextChanged
Event Type
System.EventHandler
|
TextChangedByUserInteraction
Occurs when text is changed by user interaction.
Declaration
event EventHandler<TextChangedByUserInteractionEventArgs> TextChangedByUserInteraction
Event Type
System.EventHandler<TextChangedByUserInteractionEventArgs>
|