Class RadTextBoxListElement
Represents a auto-complete list element in Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTextBoxListElement : RadListElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTextBoxListElement()
Declaration
public RadTextBoxListElement()
Properties
AutoCompleteMode
Gets or sets the auto complete mode.
Declaration
public AutoCompleteMode AutoCompleteMode { get; set; }
Property Value
System. The auto complete mode. |
EndPosition
Gets or sets the end position where the suggestion is performed
Declaration
public TextPosition EndPosition { get; set; }
Property Value
IsAppendMode
Gets a value indicating whether the auto-complete mode is append mode.
Declaration
protected bool IsAppendMode { get; }
Property Value
System.
|
IsSuggestionMatched
Gets a value indicating whether this text and suggested text are matched.
Declaration
public bool IsSuggestionMatched { get; }
Property Value
System.
|
IsSuggestMode
Gets a value indicating whether the auto-complete mode is suggest mode.
Declaration
protected bool IsSuggestMode { get; }
Property Value
System.
|
PatternText
Gets the text search criteria.
Declaration
public string PatternText { get; }
Property Value
System.
|
StartPosition
Gets or sets the start position where the suggestion is performed
Declaration
public TextPosition StartPosition { get; set; }
Property Value
SuggestedText
Gets the suggested text.
Declaration
public string SuggestedText { get; }
Property Value
System.
|
ThemeEffectiveType
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.
|
Overrides
Methods
AutoCompleteFilter(RadListDataItem)
Custom filtering predicated
Declaration
protected virtual bool AutoCompleteFilter(RadListDataItem item)
Parameters
Rad The item. |
Returns
System.
|
AutoCompleteFilterOverride(RadListDataItem)
Custom filtering predicated.
Declaration
protected virtual bool AutoCompleteFilterOverride(RadListDataItem item)
Parameters
Rad The item. |
Returns
System.
|
Find(String)
Finds Rad
Declaration
public virtual RadListDataItem Find(string text)
Parameters
System. The text. |
Returns
GetFirstFullyVisibleItem()
Gets the first fully visible item.
Declaration
public RadListDataItem GetFirstFullyVisibleItem()
Returns
GetFullyVisibleItem(Boolean)
Gets the fully visible item.
Declaration
protected virtual RadListDataItem GetFullyVisibleItem(bool firstItem)
Parameters
System. if set to |
Returns
GetLastFullyVisibleItem()
Gets the last fully visible item.
Declaration
public RadListDataItem GetLastFullyVisibleItem()
Returns
GetSuggestedText(RadListDataItem, Boolean)
Gets the suggested text from Rad
Declaration
protected string GetSuggestedText(RadListDataItem item, bool performAppend)
Parameters
Rad The item. |
System. if set to |
Returns
System.
|
GetVisualItemAtPoint(Point)
Gets the visual item at point.
Declaration
public RadListVisualItem GetVisualItemAtPoint(Point location)
Parameters
System. The location. |
Returns
IsExactSuggestion(String, String)
Determines whether the suggested text matches the pattern text
Declaration
protected bool IsExactSuggestion(string suggestion, string pattern)
Parameters
System. The suggestion. |
System. The pattern. |
Returns
System.
|
IsMatching(String, String)
Determines whether the two text variables are equal
Declaration
protected bool IsMatching(string suggestion, string pattern)
Parameters
System. The suggestion. |
System. The pattern. |
Returns
System.
|
OnItemsChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs args)
Parameters
Overrides
OnSelectedIndexChanged(Int32)
Declaration
protected override void OnSelectedIndexChanged(int newIndex)
Parameters
System.
|
Overrides
OnSuggestedTextChanged(AutoCompleteAction)
Raises the Suggested
Declaration
protected void OnSuggestedTextChanged(AutoCompleteAction action)
Parameters
Auto The action. |
OnSuggestedTextChanged(SuggestedTextChangedEventArgs)
Raises the Suggested
Declaration
protected virtual void OnSuggestedTextChanged(SuggestedTextChangedEventArgs e)
Parameters
Suggested The Suggested |
ResumeSuggestNotifications()
Resumes the Suggested
Declaration
public void ResumeSuggestNotifications()
SetSuggestedText(String, AutoCompleteAction)
Sets the suggested text.
Declaration
protected void SetSuggestedText(string text, AutoCompleteAction action)
Parameters
System. The text. |
Auto The action. |
Suggest(String, TextPosition, TextPosition)
Performs text suggestion for concrete text pattern
Declaration
public void Suggest(string pattern, TextPosition startPosition, TextPosition endPosition)
Parameters
System. The pattern. |
Text The start position. |
Text The end position. |
Suggest(String, TextPosition, TextPosition, Boolean)
Performs text suggestion for concrete text pattern
Declaration
public void Suggest(string pattern, TextPosition startPosition, TextPosition endPosition, bool notify)
Parameters
System. The pattern. |
Text The start position. |
Text The end position. |
System. if set to |
SuggestOverride(String)
Performs text suggestion for concrete text pattern
Declaration
protected virtual void SuggestOverride(string pattern)
Parameters
System. The pattern. |
SuspendSuggestNotifications()
Suspends the Suggested
Declaration
public void SuspendSuggestNotifications()
Events
SuggestedTextChanged
Occurs when suggested text is changed
Declaration
public event SuggestedTextChangedEventHandler SuggestedTextChanged