Skip to main content

HtmlEditorMentionBuilder Members

Represents a mention object.

Constructors

Name Description
HtmlEditorMentionBuilder(OptionsOwnerContext) For internal use only. Initializes a new HtmlEditorMentionBuilder class instance.

Methods

Name Description
DataSource(JS) Provides data for the suggestion list. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds mentions to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds mentions to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds mentions to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
DisplayExpr(JS) Specifies the data field whose values should be displayed in the suggestion list. Mirrors the client-side displayExpr option.
DisplayExpr(String) Specifies the data field whose values should be displayed in the suggestion list. Mirrors the client-side displayExpr option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
ItemTemplate(JS) Specifies the client-side itemTemplate.
ItemTemplate(RazorBlock) Specifies the client-side itemTemplate.
ItemTemplate(TemplateName) Specifies the client-side itemTemplate.
ItemTemplate(String) Specifies the client-side itemTemplate.
Marker(JS) Specifies the prefix that a user enters to activate mentions. You can use different prefixes with different dataSources. Mirrors the client-side marker option.
Marker(String) Specifies the prefix that a user enters to activate mentions. You can use different prefixes with different dataSources. Mirrors the client-side marker option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MinSearchLength(JS) Specifies the minimum number of characters that a user should type to trigger the search. Mirrors the client-side minSearchLength option.
MinSearchLength(Int32) Specifies the minimum number of characters that a user should type to trigger the search. Mirrors the client-side minSearchLength option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SearchExpr(JS) Specifies one or several data fields to search. Mirrors the client-side searchExpr option.
SearchExpr(IEnumerable<String>) Specifies one or several data fields to search. Mirrors the client-side searchExpr option.
SearchExpr(String[]) Specifies one or several data fields to search. Mirrors the client-side searchExpr option.
SearchTimeout(JS) Specifies the delay between when a user stops typing and when the search is executed. Mirrors the client-side searchTimeout option.
SearchTimeout(Double) Specifies the delay between when a user stops typing and when the search is executed. Mirrors the client-side searchTimeout option.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
ToString() Returns a string that represents the current object. Inherited from Object.
ValueExpr(JS) Specifies which data field provides unique values to the template's id parameter. Mirrors the client-side valueExpr option.
ValueExpr(String) Specifies which data field provides unique values to the template's id parameter. Mirrors the client-side valueExpr option.
See Also