alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CommandFilteringEventArgs

    Represents the event arguments for command menu query filtering in the SfBlockEditor component.

    Inheritance
    object
    CommandFilteringEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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; true to prevent the filtering process. The default is false.

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved