Class RadTokenizedTextItemCollection
Represents a collection of RadTokenizedTextItem
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTokenizedTextItemCollection : ReadOnlyCollection<RadTokenizedTextItem>, IList<RadTokenizedTextItem>, ICollection<RadTokenizedTextItem>, IList, ICollection, IReadOnlyList<RadTokenizedTextItem>, IReadOnlyCollection<RadTokenizedTextItem>, IEnumerable<RadTokenizedTextItem>, IEnumerable, INotifyCollectionChanged
  Constructors
RadTokenizedTextItemCollection(RadAutoCompleteBoxElement)
Initializes a new instance of the RadTokenizedTextItemCollection class.
Declaration
public RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox)
  Parameters
| 
        RadAutoCompleteBoxElement
        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
| 
        RadAutoCompleteBoxElement
        textBox
         The text box.  | 
    
| 
        System.Collections.Generic.IList<RadTokenizedTextItem>
        list
         The list.  | 
    
Properties
TextBox
Declaration
protected RadAutoCompleteBoxElement TextBox { get; }
  Property Value
| 
        RadAutoCompleteBoxElement
         
  | 
    
Methods
Attach(ITextBlock)
Detach(ITextBlock)
FinAll(String)
Fins all tokenized item that contains this text.
Declaration
protected IEnumerable<RadTokenizedTextItem> FinAll(string text)
  Parameters
| 
        System.String
        text
         The text.  | 
    
Returns
| 
        System.Collections.Generic.IEnumerable<RadTokenizedTextItem>
         
  | 
    
Find(String)
Finds the specified text in the collection
Declaration
protected RadTokenizedTextItem Find(string text)
  Parameters
| 
        System.String
        text
         The text.  | 
    
Returns
| 
        RadTokenizedTextItem
         
  | 
    
OnClearBlocks()
Declaration
protected virtual void OnClearBlocks()
  OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event.
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
  Parameters
| 
        NotifyCollectionChangedEventArgs
        e
         The NotifyCollectionChangedEventArgs instance containing the event data.  | 
    
OnContentElementTextChanging(TextChangingEventArgs)
Raises the ContentElementTextChanging event.
Declaration
protected virtual void OnContentElementTextChanging(TextChangingEventArgs e)
  Parameters
| 
        TextChangingEventArgs
        e
         The TextChangingEventArgs instance containing the event data.  | 
    
OnInsertBlock(ITextBlock)
Declaration
protected virtual RadTokenizedTextItem OnInsertBlock(ITextBlock textBlock)
  Parameters
| 
        ITextBlock
        textBlock
         
  | 
    
Returns
| 
        RadTokenizedTextItem
         
  | 
    
OnListElementDataBindingComplete(ListBindingCompleteEventArgs)
Declaration
protected virtual void OnListElementDataBindingComplete(ListBindingCompleteEventArgs e)
  Parameters
| 
        ListBindingCompleteEventArgs
        e
         
  | 
    
OnListElementItemsChanging(NotifyCollectionChangingEventArgs)
Raises the ListElementItemsChanging event.
Declaration
protected virtual void OnListElementItemsChanging(NotifyCollectionChangingEventArgs e)
  Parameters
| 
        NotifyCollectionChangingEventArgs
        e
         The NotifyCollectionChangingEventArgs instance containing the event data.  | 
    
OnRemoveBlock(ITextBlock)
Declaration
protected virtual RadTokenizedTextItem OnRemoveBlock(ITextBlock textBlock)
  Parameters
| 
        ITextBlock
        textBlock
         
  | 
    
Returns
| 
        RadTokenizedTextItem
         
  | 
    
OnViewElementChildrenChanged(ChildrenChangedEventArgs)
Raises the ViewElementChildrenChanged event.
Declaration
protected virtual void OnViewElementChildrenChanged(ChildrenChangedEventArgs e)
  Parameters
| 
        ChildrenChangedEventArgs
        e
         The ChildrenChangedEventArgs instance containing the event data.  | 
    
Events
CollectionChanged
Occurs when the collection is changed.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
  Event Type
| 
        NotifyCollectionChangedEventHandler
         
  |