Class MentionProviderBase<T>
Represents a provider for the mentions functionality.
Inherited Members
Namespace: Telerik.WinForms.Documents.UI.Mentions
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public abstract class MentionProviderBase<T> : MentionProviderBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Type Parameters
T
|
Constructors
MentionProviderBase()
Methods
DetermineItemVisibility(T, String)
Determines if the passed item should be visible in the list of mention items.
Declaration
public abstract bool DetermineItemVisibility(T item, string currentMentionText)
Parameters
T
item
The item which will be checked. |
System. The searched text that should define whether the item should be visible. |
Returns
System. True if the item should be visible, false otherwise. |
InsertItem(RadDocument, T)
Defines the action executed after selecting an item from the list of mention items.
Declaration
public abstract void InsertItem(RadDocument document, T item)
Parameters
Rad The current Rad |
T
item
The item to be inserted. |