ClassMentionProviderBase<T>
Represents a provider for the mentions functionality.
Definition
Namespace:Telerik.Windows.Documents.UI.Mentions
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Type Parameters:
T
Syntax:
public abstract class MentionProviderBase<T> : MentionProviderBase
Inheritance: objectMentionProviderBaseMentionProviderBase<T>
Derived Classes:
Inherited Members
Constructors
MentionProviderBase()
Constructor for the MentionProviderBase<T> class.
Declaration
protected 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
item
T
The item which will be checked.
currentMentionText
The searched text that should define whether the item should be visible.
Returns
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
document
The current RadDocument.
item
T
The item to be inserted.