Class PersonMentionProvider
Represents a provider for mentioning persons.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.UI.Mentions
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PersonMentionProvider : MentionProviderBase<PersonMentionItem>, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
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
Person The item which will be checked. |
System. The searched text that should define whether the item should be visible. |
Returns
System. 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
Rad The current Rad |
Person The item to be inserted. |