Class CommandFilteringEventArgs
Represents the event arguments for command menu query filtering in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class CommandFilteringEventArgs
Constructors
CommandFilteringEventArgs()
Declaration
public CommandFilteringEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the filtering action should be cancelled in the SfBlockEditor.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A boolean value; |
Remarks
This can be used to override the default filtering behavior for specific cases.
Commands
Gets or sets the list of command items while filtering based on the query text in the SfBlockEditor.
Declaration
public List<CommandItemModel> Commands { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CommandItemModel> | A list of CommandItemModel that match the user's input query. |
Remarks
This list contains only the commands that satisfy the user's typed search query.
Text
Gets or sets the query text entered by the user in the SfBlockEditor.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the user's search input. |
Remarks
This text is used to filter the command menu items.