menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColumnMenuOpenEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColumnMenuOpenEventArgs

    Provides information about an OnColumnMenuOpen event.

    Inheritance
    System.Object
    GridEventBaseArgs
    ColumnMenuOpenEventArgs
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColumnMenuOpenEventArgs : GridEventBaseArgs

    Constructors

    ColumnMenuOpenEventArgs()

    Declaration
    public ColumnMenuOpenEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to prevent the column menu in the grid.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false. If the Cancel property is set to true, then the column menu will not be shown.

    Column

    Gets the GridColumn where the column menu is currently open in the grid.

    Declaration
    public GridColumn Column { get; }
    Property Value
    Type Description
    GridColumn

    The grid column instance where the column menu is currently open.

    ColumnMenuIndex

    Gets the column menu index indicating the level of the menu item within the menu hierarchy.

    Declaration
    public int ColumnMenuIndex { get; }
    Property Value
    Type Description
    System.Int32

    An integer value that represents the column menu index of the menu item.

    Remarks

    The ColumnMenuIndex property indicates the level of submenu items. The navigation index for parent menu items starts from 0. This index for top-level menu items starts from 0, and it increases as the menu item becomes a sub-menu item.

    Items

    Gets or sets the list of MenuItem that are displayed in the column menu.

    Declaration
    public List<MenuItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MenuItem>

    The list of menu items that are displayed in the column menu.

    Left

    Gets or sets the left position of the column menu relative to the document or container.

    Declaration
    public double Left { get; set; }
    Property Value
    Type Description
    System.Double

    The left position of the column menu relative to the document or container.

    ParentItem

    Gets the parent MenuItem of the currently clicked sub menu item.

    Declaration
    public MenuItem ParentItem { get; }
    Property Value
    Type Description
    MenuItem

    The parent menu item of the currently clicked sub menu item.

    Remarks

    If the currently clicked menu item is a sub menu item, then the ParentItem property will return the parent menu item, otherwise the value will be null.

    Top

    Gets or sets the top position of the column menu relative to the document or container.

    Declaration
    public double Top { get; set; }
    Property Value
    Type Description
    System.Double

    The top position of the column menu relative to the document or container.

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