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