Represents a collection of RadTokenizedTextItem
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTokenizedTextItemCollection : ReadOnlyCollection<RadTokenizedTextItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged
Inheritance: objectReadOnlyCollection<RadTokenizedTextItem>RadTokenizedTextItemCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadTokenizedTextItemCollection class.
protected RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox, IList<RadTokenizedTextItem> list)
The text box.
listIList<RadTokenizedTextItem>The list.
Initializes a new instance of the RadTokenizedTextItemCollection class.
public RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox)
The text box.
Properties
protected RadAutoCompleteBoxElement TextBox { get; }
Methods
Fins all tokenized item that contains this text.
protected IEnumerable<RadTokenizedTextItem> FinAll(string text)
The text.
Returns:IEnumerable<RadTokenizedTextItem>
Finds the specified text in the collection
protected virtual void OnClearBlocks()
Raises the event.
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Raises the event.
protected virtual void OnContentElementTextChanging(TextChangingEventArgs e)
The TextChangingEventArgs instance containing the event data.
protected virtual RadTokenizedTextItem OnInsertBlock(ITextBlock textBlock)
protected virtual void OnListElementDataBindingComplete(ListBindingCompleteEventArgs e)
Raises the event.
protected virtual void OnListElementItemsChanging(NotifyCollectionChangingEventArgs e)
The NotifyCollectionChangingEventArgs instance containing the event data.
protected virtual RadTokenizedTextItem OnRemoveBlock(ITextBlock textBlock)
Raises the event.
protected virtual void OnViewElementChildrenChanged(ChildrenChangedEventArgs e)
The ChildrenChangedEventArgs instance containing the event data.
Events
Occurs when the collection is changed.
public event NotifyCollectionChangedEventHandler CollectionChanged
Implements: