Represents a provider for mentioning persons.
Definition
Namespace:Telerik.WinForms.Documents.UI.Mentions
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class PersonMentionProvider : MentionProviderBase<PersonMentionItem>, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectMentionProviderBaseMentionProviderBase<PersonMentionItem>PersonMentionProvider...
Implements:
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: