menu

WinForms

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

    Show / Hide Table of Contents

    Class SelectedCellsInfo

    Represents a class that maintains the selected cells information in a row.

    Inheritance
    System.Object
    SelectedCellsInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid.Interactivity
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class SelectedCellsInfo

    Constructors

    SelectedCellsInfo()

    Initializes a new instance of the SelectedCellsInfo class.

    Declaration
    public SelectedCellsInfo()

    Properties

    ColumnCollection

    Gets a value indicating the collection of grid columns which are selected in a row.

    Declaration
    public ObservableCollection<GridColumn> ColumnCollection { get; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<GridColumn>

    IsAddNewRow

    Gets a value indicating whether the selected row is an AddNewRow.

    Declaration
    public bool IsAddNewRow { get; }
    Property Value
    Type
    System.Boolean

    IsCaptionSummaryRow

    Gets a value indicating whether the cells exists in caption summary row.

    Declaration
    public bool IsCaptionSummaryRow { get; }
    Property Value
    Type
    System.Boolean

    IsDataRow

    Gets a value indicating whether the selected row is an default data row.

    Declaration
    public bool IsDataRow { get; }
    Property Value
    Type
    System.Boolean

    IsFilterRow

    Gets a value indicating whether the selected row is an Filter row.

    Declaration
    public bool IsFilterRow { get; }
    Property Value
    Type
    System.Boolean

    IsGroupSummaryRow

    Gets a value indicating whether the cells exists in group summary row.

    Declaration
    public bool IsGroupSummaryRow { get; }
    Property Value
    Type
    System.Boolean

    IsUnboundRow

    Gets a value indicating whether the selected row is an unbound row.

    Declaration
    public bool IsUnboundRow { get; }
    Property Value
    Type
    System.Boolean

    RowData

    Gets the underlying data object of the row.

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

    RowIndex

    Gets the index of the selected row.

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

    UnboundRow

    Gets the unbound row information when the selected row is unbound row.

    Declaration
    public GridUnboundRow UnboundRow { get; }
    Property Value
    Type
    GridUnboundRow

    Methods

    HasColumn(GridColumn)

    Checks whether the given grid column exists in the selected row.

    Declaration
    public bool HasColumn(GridColumn gridColumn)
    Parameters
    Type Name Description
    GridColumn gridColumn

    The grid column.

    Returns
    Type Description
    System.Boolean

    Returns true if the column exists in the row. Otherwise false.

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