menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RowContextMenuInfo - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RowContextMenuInfo

    Represents information about a row in the SfDataGrid, used for context menu operations.

    Inheritance
    System.Object
    RowContextMenuInfo
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class RowContextMenuInfo : Object
    Remarks

    This class provides contextual data for row-level interactions in the data grid. It includes the grid instance, row index, and the bound data item for the row. Useful for implementing row-specific logic such as editing, deleting, or custom actions.

    Constructors

    RowContextMenuInfo()

    Initializes a new instance of the class.

    Declaration
    public RowContextMenuInfo()

    RowContextMenuInfo(SfDataGrid, Int32, Object)

    Initializes a new instance of the class with the specified data grid and index.

    Declaration
    public RowContextMenuInfo(SfDataGrid dataGrid, int rowIndex, object rowData = null)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    The data grid associated with this row.

    System.Int32 rowIndex

    The row index of this row.

    System.Object rowData

    The data item for this row.

    Properties

    DataGrid

    Gets the instance of the SfDataGrid.

    Declaration
    public SfDataGrid DataGrid { get; }
    Property Value
    Type
    SfDataGrid

    RowData

    Gets the data item for this row.

    Declaration
    public object RowData { get; }
    Property Value
    Type
    System.Object

    RowIndex

    Gets the row index of this row.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved