Class MentionProviderBase<T>
Represents a provider for the mentions functionality.
Inherited Members
Namespace: Telerik.Windows.Documents.UI.Mentions
Assembly: Telerik.Windows.Documents.dll
Syntax
public abstract class MentionProviderBase<T> : MentionProviderBase
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.String
currentMentionText
The searched text that should define whether the item should be visible. |
Returns
System.Boolean
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
RadDocument
document
The current RadDocument. |
T
item
The item to be inserted. |