Represents a provider for mentioning persons.
Definition
Namespace:Telerik.Windows.Documents.UI.Mentions
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class PersonMentionProvider : MentionProviderBase<PersonMentionItem>
Inheritance: objectMentionProviderBaseMentionProviderBase<PersonMentionItem>PersonMentionProvider
Inherited Members
Constructors
C#
public PersonMentionProvider()
Methods
Determines if the passed item should be visible in the list of mention items.
C#
public override bool DetermineItemVisibility(PersonMentionItem item, string currentMentionText)
The item which will be checked.
currentMentionTextstringThe searched text that should define whether the item should be visible.
Returns:True if the item should be visible, false otherwise.
Overrides:
Defines the action executed after selecting an item from the list of mention items.
C#
public override void InsertItem(RadDocument document, PersonMentionItem item)
The current RadDocument.
itemPersonMentionItemThe item to be inserted.
Overrides: