ClassRadTokenizedTextItemCollection
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
RadTokenizedTextItemCollection(RadAutoCompleteBoxElement)
Initializes a new instance of the RadTokenizedTextItemCollection class.
Declaration
public RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox)
Parameters
textBox
The text box.
RadTokenizedTextItemCollection(RadAutoCompleteBoxElement, IList<RadTokenizedTextItem>)
Initializes a new instance of the RadTokenizedTextItemCollection class.
Declaration
protected RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox, IList<RadTokenizedTextItem> list)
Parameters
textBox
The text box.
list
IList<RadTokenizedTextItem>
The list.
Properties
TextBox
Declaration
protected RadAutoCompleteBoxElement TextBox { get; }
Property Value
Methods
Attach(ITextBlock)
Declaration
protected virtual void Attach(ITextBlock textBlock)
Parameters
textBlock
Detach(ITextBlock)
Declaration
protected virtual void Detach(ITextBlock textBlock)
Parameters
textBlock
FinAll(string)
Fins all tokenized item that contains this text.
Declaration
protected IEnumerable<RadTokenizedTextItem> FinAll(string text)
Parameters
text
The text.
Returns
IEnumerable<RadTokenizedTextItem>
Find(string)
Finds the specified text in the collection
Declaration
protected RadTokenizedTextItem Find(string text)
Parameters
text
The text.
Returns
OnClearBlocks()
Declaration
protected virtual void OnClearBlocks()
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
OnContentElementTextChanging(TextChangingEventArgs)
Raises the event.
Declaration
protected virtual void OnContentElementTextChanging(TextChangingEventArgs e)
Parameters
e
The TextChangingEventArgs instance containing the event data.
OnInsertBlock(ITextBlock)
Declaration
protected virtual RadTokenizedTextItem OnInsertBlock(ITextBlock textBlock)
Parameters
textBlock
Returns
OnListElementDataBindingComplete(ListBindingCompleteEventArgs)
Declaration
protected virtual void OnListElementDataBindingComplete(ListBindingCompleteEventArgs e)
Parameters
e
OnListElementItemsChanging(NotifyCollectionChangingEventArgs)
Raises the event.
Declaration
protected virtual void OnListElementItemsChanging(NotifyCollectionChangingEventArgs e)
Parameters
e
NotifyCollectionChangingEventArgs
The NotifyCollectionChangingEventArgs instance containing the event data.
OnRemoveBlock(ITextBlock)
Declaration
protected virtual RadTokenizedTextItem OnRemoveBlock(ITextBlock textBlock)
Parameters
textBlock
Returns
OnViewElementChildrenChanged(ChildrenChangedEventArgs)
Raises the event.
Declaration
protected virtual void OnViewElementChildrenChanged(ChildrenChangedEventArgs e)
Parameters
e
The ChildrenChangedEventArgs instance containing the event data.
Events
CollectionChanged
Occurs when the collection is changed.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Value
Implements