New to Telerik UI for WinFormsStart a free 30-day trial

Represents a collection of RadTokenizedTextItem

Definition

Constructors

Initializes a new instance of the RadTokenizedTextItemCollection class.

C#
protected RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox, IList<RadTokenizedTextItem> list)
Parameters:textBoxRadAutoCompleteBoxElement

The text box.

listIList<RadTokenizedTextItem>

The list.

Initializes a new instance of the RadTokenizedTextItemCollection class.

C#
public RadTokenizedTextItemCollection(RadAutoCompleteBoxElement textBox)
Parameters:textBoxRadAutoCompleteBoxElement

The text box.

Properties

C#
protected RadAutoCompleteBoxElement TextBox { get; }

Methods

C#
protected virtual void Attach(ITextBlock textBlock)
Parameters:textBlockITextBlock
C#
protected virtual void Detach(ITextBlock textBlock)
Parameters:textBlockITextBlock

Fins all tokenized item that contains this text.

C#
protected IEnumerable<RadTokenizedTextItem> FinAll(string text)
Parameters:textstring

The text.

Returns:

IEnumerable<RadTokenizedTextItem>

Finds the specified text in the collection

C#
protected RadTokenizedTextItem Find(string text)
Parameters:textstring

The text.

Returns:

RadTokenizedTextItem

C#
protected virtual void OnClearBlocks()

Raises the event.

C#
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnContentElementTextChanging(TextChangingEventArgs e)
Parameters:eTextChangingEventArgs

The TextChangingEventArgs instance containing the event data.

C#
protected virtual RadTokenizedTextItem OnInsertBlock(ITextBlock textBlock)
Parameters:textBlockITextBlockReturns:

RadTokenizedTextItem

C#
protected virtual void OnListElementDataBindingComplete(ListBindingCompleteEventArgs e)
Parameters:eListBindingCompleteEventArgs

Raises the event.

C#
protected virtual void OnListElementItemsChanging(NotifyCollectionChangingEventArgs e)
Parameters:eNotifyCollectionChangingEventArgs

The NotifyCollectionChangingEventArgs instance containing the event data.

C#
protected virtual RadTokenizedTextItem OnRemoveBlock(ITextBlock textBlock)
Parameters:textBlockITextBlockReturns:

RadTokenizedTextItem

Raises the event.

C#
protected virtual void OnViewElementChildrenChanged(ChildrenChangedEventArgs e)
Parameters:eChildrenChangedEventArgs

The ChildrenChangedEventArgs instance containing the event data.

Events

Occurs when the collection is changed.

C#
public event NotifyCollectionChangedEventHandler CollectionChanged

Implements: INotifyCollectionChanged.CollectionChanged