Class RadAutoCompleteBoxElement
Represents a auto-complete tokenized text box element
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadAutoCompleteBoxElement : RadTextBoxControlElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadAutoCompleteBoxElement()
Initializes a new instance of the RadAutoCompleteBoxElement class.
Declaration
public RadAutoCompleteBoxElement()
Properties
AllowDuplicates
Gets or sets whether already selected items can be suggested.
Declaration
public virtual bool AllowDuplicates { get; set; }
Property Value
System.Boolean
|
AutoCompleteDropDownLocation
Gets or sets the auto complete drop down location.
Declaration
protected Point AutoCompleteDropDownLocation { get; set; }
Property Value
System.Drawing.Point
The auto complete popup location. |
AutoCompleteValueMember
Gets or sets a property name which will be used to extract a value from the data items
Declaration
public string AutoCompleteValueMember { get; set; }
Property Value
System.String
|
AutoCompleteViewElement
Gets the auto complete view element.
Declaration
protected AutoCompleteBoxViewElement AutoCompleteViewElement { get; }
Property Value
AutoCompleteBoxViewElement
|
CanPerformAutoComplete
Declaration
protected override bool CanPerformAutoComplete { get; }
Property Value
System.Boolean
|
Overrides
Delimiter
Gets or sets the delimiter used to tokenize the text
Declaration
public char Delimiter { get; set; }
Property Value
System.Char
The delimiter. |
Items
Gets the tokenized items.
Declaration
public RadTokenizedTextItemCollection Items { get; }
Property Value
RadTokenizedTextItemCollection
|
ShowRemoveButton
Gets or sets a value indicating whether the remove button of TokenizedTextBlockElement should appear. Notice that the text box should not be in read only mode
Declaration
public bool ShowRemoveButton { get; set; }
Property Value
System.Boolean
|
Methods
CloseDropDown(RadPopupCloseReason)
Declaration
public override void CloseDropDown(RadPopupCloseReason reason)
Parameters
RadPopupCloseReason
reason
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateListElement()
Declaration
protected override RadTextBoxListElement CreateListElement()
Returns
RadTextBoxListElement
|
Overrides
CreateTokenizedItemCollection()
Creates the tokenized item collection.
Declaration
protected virtual RadTokenizedTextItemCollection CreateTokenizedItemCollection()
Returns
RadTokenizedTextItemCollection
|
CreateViewElement()
Declaration
protected override TextBoxViewElement CreateViewElement()
Returns
TextBoxViewElement
|
Overrides
GetAutoCompleteDropDownLocation()
Declaration
protected override Point GetAutoCompleteDropDownLocation()
Returns
System.Drawing.Point
|
Overrides
GetFirstAutoCompletePosition()
Declaration
protected override TextPosition GetFirstAutoCompletePosition()
Returns
TextPosition
|
Overrides
GetLastAutoCompletePosition()
Declaration
protected override TextPosition GetLastAutoCompletePosition()
Returns
TextPosition
|
Overrides
HideDuplicates()
Declaration
protected virtual void HideDuplicates()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsValidAutoCompletePosition()
Declaration
protected override bool IsValidAutoCompletePosition()
Returns
System.Boolean
|
Overrides
OnAutoCompleteDropDownClosed(RadAutoCompleteDropDownClosedEventArgs)
Declaration
protected override void OnAutoCompleteDropDownClosed(RadAutoCompleteDropDownClosedEventArgs e)
Parameters
RadAutoCompleteDropDownClosedEventArgs
e
|
Overrides
OnAutoCompleteDropDownKeyDown(KeyEventArgs)
Declaration
protected virtual void OnAutoCompleteDropDownKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
PerformAutoCompleteOverride(EditOperation)
Declaration
protected override void PerformAutoCompleteOverride(EditOperation context)
Parameters
EditOperation
context
|
Overrides
Events
TokenValidating
Occurs when text is validating as token
Declaration
public event TokenValidatingEventHandler TokenValidating
Event Type
TokenValidatingEventHandler
|