Class PersonMentionProvider
Represents a provider for mentioning persons.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.UI.Mentions
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class PersonMentionProvider : MentionProviderBase<PersonMentionItem>
Constructors
PersonMentionProvider()
Declaration
public PersonMentionProvider()
Methods
DetermineItemVisibility(PersonMentionItem, String)
Determines if the passed item should be visible in the list of mention items.
Declaration
public override bool DetermineItemVisibility(PersonMentionItem item, string currentMentionText)
Parameters
PersonMentionItem
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. |
Overrides
InsertItem(RadDocument, PersonMentionItem)
Defines the action executed after selecting an item from the list of mention items.
Declaration
public override void InsertItem(RadDocument document, PersonMentionItem item)
Parameters
RadDocument
document
The current RadDocument. |
PersonMentionItem
item
The item to be inserted. |