Class DropDownItemModel
The class is used to configure dropdown toolbar items in the SfRichTextEditor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class DropDownItemModel : Object
Remarks
This class manages configuration and styling for dropdown-type toolbar mechanisms within the RichTextEditor.
Constructors
DropDownItemModel()
Declaration
public DropDownItemModel()
Properties
Command
Gets or sets the command name of the dropdown toolbar item.
Declaration
public string Command { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string linking the dropdown item to a command. |
Remarks
The Command property links specific actions to the dropdown item for editor interactivity.
CssClass
Gets or sets the CSS class for dropdown toolbar item customization.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string of CSS class identifiers. |
Remarks
CssClass applies custom visual elements to dropdown toolbar features.
IconCss
Gets or sets a CSS class string to include an icon or image for the dropdown toolbar item.
Declaration
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string of CSS classes defining image or icon elements. |
Remarks
IconCss allows developers to incorporate specific visual cues, such as icons, into dropdown toolbar items.
ListImage
Gets or sets the list image of the list dropdown toolbar item.
Declaration
public string ListImage { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the visual listing image. |
Remarks
ListImage defines optional display imagery for added flair or instructional value within dropdown lists.
SubCommand
Gets or sets the subcommand of the dropdown toolbar item.
Declaration
public string SubCommand { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string describing subcommand functionality. |
Remarks
The SubCommand augments primary command actions with deeper or alternative operations.
Text
Gets or sets the text of the dropdown toolbar item.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string providing textual display for the dropdown item. |
Remarks
Text helps label dropdown entries such that user navigation is intuitive and supported.
Value
Gets or sets the value of the dropdown toolbar item.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the dropdown item's core value. |
Remarks
The Value property contains key command values associated with dropdown interaction modes.