alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SerializableDataGrid

    Represents a class that is used to serialize and deserialize SfDataGrid property settings.

    Inheritance
    object
    SerializableDataGrid
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    [DataContract(Name = "SfDataGrid")]
    public class SerializableDataGrid

    Constructors

    SerializableDataGrid()

    Declaration
    public SerializableDataGrid()

    Properties

    AllowColumnSelection

    Gets or sets a value that indicates whether the column selection is applied by tapping or double tapping a header cell in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowColumnSelection { get; set; }
    Property Value
    Type
    bool

    AllowDeleting

    Gets or sets a value that indicates whether deleting selected rows with the delete key is enabled during navigation in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowDeleting { get; set; }
    Property Value
    Type
    bool

    AllowDiagonalScrolling

    Gets or sets a value that indicates whether diagonal scrolling is allowed in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowDiagonalScrolling { get; set; }
    Property Value
    Type
    bool

    AllowDraggingColumn

    Gets or sets a value that indicates whether the column can be repositioned by using mouse or touch in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowDraggingColumn { get; set; }
    Property Value
    Type
    bool

    AllowDraggingRow

    Gets or sets a value that indicates whether the row can be repositioned by using mouse or touch in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowDraggingRow { get; set; }
    Property Value
    Type
    bool

    AllowEditing

    Gets or sets a value that indicates whether the editing is enabled in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowEditing { get; set; }
    Property Value
    Type
    bool

    AllowGroupExpandCollapse

    Gets or sets a value that indicates whether to allow expanding and collapsing of groups in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowGroupExpandCollapse { get; set; }
    Property Value
    Type
    bool

    AllowKeyboardNavigation

    Gets or sets a value that indicates whether to enable keyboard navigation in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowKeyboardNavigation { get; set; }
    Property Value
    Type
    bool

    AllowLoadMore

    Gets or sets a value that indicates whether to enable load more in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowLoadMore { get; set; }
    Property Value
    Type
    bool

    AllowPullToRefresh

    Gets or sets a value that indicates whether to enable/disable the refreshing option upon pulling the SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowPullToRefresh { get; set; }
    Property Value
    Type
    bool

    AllowResizingColumns

    Gets or sets a value that indicates whether the user can adjust the column width by using the mouse in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowResizingColumns { get; set; }
    Property Value
    Type
    bool

    AllowResizingRows

    Gets or sets a value that indicates whether the user can adjust the row width by using the mouse in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowResizingRows { get; set; }
    Property Value
    Type
    bool

    AllowSwiping

    Gets or sets a value that indicates whether swiping is enabled for the SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowSwiping { get; set; }
    Property Value
    Type
    bool

    AllowTriStateSorting

    Gets or sets a value that indicates whether the user can sort the data to its initial order other than Ascending or Descending state in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AllowTriStateSorting { get; set; }
    Property Value
    Type
    bool

    AlternationRowCount

    Gets or sets a row count to apply the background for the rows alternatively in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int AlternationRowCount { get; set; }
    Property Value
    Type
    int

    AutoExpandGroups

    Gets or sets a value that indicates whether the group is expanded automatically , when the column is grouped in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AutoExpandGroups { get; set; }
    Property Value
    Type
    bool

    AutoGenerateColumnsMode

    Gets or sets a value that indicates how the columns are generated during automatic column generation .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public AutoGenerateColumnsMode AutoGenerateColumnsMode { get; set; }
    Property Value
    Type
    AutoGenerateColumnsMode

    AutoGenerateColumnsModeForCustomType

    Gets or sets a value that indicates whether to generate the columns only for the custom type and not create the columns for all inner properties of custom types in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public AutoGenerateColumnsModeForCustomType AutoGenerateColumnsModeForCustomType { get; set; }
    Property Value
    Type
    AutoGenerateColumnsModeForCustomType

    AutoGenerateRelations

    Gets or sets a value that indicates whether the relations for Master-Details View is generated automatically in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool AutoGenerateRelations { get; set; }
    Property Value
    Type
    bool

    CanMaintainScrollPosition

    Gets or sets a value that indicates whether the scroll is maintained in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool CanMaintainScrollPosition { get; set; }
    Property Value
    Type
    bool

    CanUseViewFilter

    Gets or sets a value that indicates whether to create a view by considering ICollectionView.Filter or DataView.RowFilter in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool CanUseViewFilter { get; set; }
    Property Value
    Type
    bool

    CaptionSummaryRow

    Gets or sets the SerializableDataGridSummaryRow that displays the summary information at the header of each group .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDataGridSummaryRow? CaptionSummaryRow { get; set; }
    Property Value
    Type
    SerializableDataGridSummaryRow

    ColumnWidthMode

    Gets or sets a value that indicates how the column widths are determined.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public ColumnWidthMode ColumnWidthMode { get; set; }
    Property Value
    Type
    ColumnWidthMode

    Columns

    Gets or sets the collection that contains all the columns in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableColumns? Columns { get; set; }
    Property Value
    Type
    SerializableColumns

    DataFetchSize

    Gets or sets the amount of data to fetch for virtualizing operations.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int DataFetchSize { get; set; }
    Property Value
    Type
    int

    DefaultColumnWidth

    Gets or sets the default column width of the SerializableDataGrid .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double DefaultColumnWidth { get; set; }
    Property Value
    Type
    double

    DetailsViewDefinition

    Gets or sets the collection of ViewDefinition that enables you to represent the data in to hierarchical format.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDetailsViewDefinition? DetailsViewDefinition { get; set; }
    Property Value
    Type
    SerializableDetailsViewDefinition

    DetailsViewPadding

    Gets or sets the space between the edge of DetailsViewDataGrid and its content.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public Thickness? DetailsViewPadding { get; set; }
    Property Value
    Type
    Thickness

    EditTapAction

    Gets or sets a value that indicates whether the editing action can be accomplished either at single or double click in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridTapAction EditTapAction { get; set; }
    Property Value
    Type
    DataGridTapAction

    EnableDataVirtualization

    Gets or sets a value indicating whether to create RecordEntry for all the objects in SourceCollection while loading itself in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool EnableDataVirtualization { get; set; }
    Property Value
    Type
    bool

    ExpanderColumnWidth

    Gets or sets the Expander column width.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double ExpanderColumnWidth { get; set; }
    Property Value
    Type
    double

    FooterFrozenColumnCount

    Gets or sets the number of columns right to the SerializableDataGrid remains fixed in the view, when scrolled out of its visibility.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int FooterFrozenColumnCount { get; set; }
    Property Value
    Type
    int

    FooterFrozenRowCount

    Gets or sets the number of bottom-most rows that remain fixed in view, when scrolled out of its visibility.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int FooterFrozenRowCount { get; set; }
    Property Value
    Type
    int

    FrozenColumnCount

    Gets or sets the number of columns left to the SerializableDataGrid remains fixed in the view, when scrolled out of its visibility.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int FrozenColumnCount { get; set; }
    Property Value
    Type
    int

    FrozenRowCount

    Gets or sets the number of top-most rows remains fixed in view, when scrolled out of its visibility.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int FrozenRowCount { get; set; }
    Property Value
    Type
    int

    GridLinesVisibility

    Gets or sets a value that specifies the horizontal and vertical lines visibility of the cells in grid (except header cells).

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public GridLinesVisibility GridLinesVisibility { get; set; }
    Property Value
    Type
    GridLinesVisibility

    GroupCaptionTextFormat

    Gets or sets the format of group caption text.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public string? GroupCaptionTextFormat { get; set; }
    Property Value
    Type
    string

    GroupColumnDescriptions

    Gets or sets the collection of GroupColumnDescription object that describes how the column to be grouped in to view .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableGroupColumnDescriptions? GroupColumnDescriptions { get; set; }
    Property Value
    Type
    SerializableGroupColumnDescriptions

    GroupRowHeight

    Gets or sets the height of group caption summary rows in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double GroupRowHeight { get; set; }
    Property Value
    Type
    double

    GroupSummaryRows

    Gets or sets the collection of DataGridSummaryRow that displays summary information at the footer of each group.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDataGridSummaryRows? GroupSummaryRows { get; set; }
    Property Value
    Type
    SerializableDataGridSummaryRows

    GroupingMode

    Gets or sets a value that indicates whether whether to allow single or multiple columns to perform grouping in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public GroupingMode GroupingMode { get; set; }
    Property Value
    Type
    GroupingMode

    HeaderLinesVisibility

    Gets or sets a value that specifies the horizontal and vertical lines visibility of the stacked header cells and header cells in grid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public GridLinesVisibility HeaderLinesVisibility { get; set; }
    Property Value
    Type
    GridLinesVisibility

    HeaderRowHeight

    Gets or sets the height of the header row.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double HeaderRowHeight { get; set; }
    Property Value
    Type
    double

    HorizontalScrollBarVisibility

    Gets or sets a value that controls when the horizontal scrollbar is visible in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public ScrollBarVisibility? HorizontalScrollBarVisibility { get; set; }
    Property Value
    Type
    ScrollBarVisibility

    IndentColumnWidth

    Gets or sets the Indent column width.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double IndentColumnWidth { get; set; }
    Property Value
    Type
    double

    IsBusy

    Gets or sets a value that indicates whether the SerializableDataGrid is in a busy state when executing the LoadMoreCommand.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool IsBusy { get; set; }
    Property Value
    Type
    bool

    LiveDataUpdateMode

    Gets or sets a value to control data manipulation operations during data updates.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public LiveDataUpdateMode LiveDataUpdateMode { get; set; }
    Property Value
    Type
    LiveDataUpdateMode

    LoadMorePosition

    Gets or sets a value to LoadMorePosition in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridLoadMorePosition LoadMorePosition { get; set; }
    Property Value
    Type
    DataGridLoadMorePosition

    LoadMoreText

    Gets or sets the string that is used to displayed on the LoadMoreText in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public string? LoadMoreText { get; set; }
    Property Value
    Type
    string

    MaxSwipeOffset

    Gets or sets the maximum distance a row can be swiped before the swipe action is considered complete in SerializableDataGrid .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double MaxSwipeOffset { get; set; }
    Property Value
    Type
    double

    NavigationMode

    Gets or sets the NavigationMode that indicates whether the navigation can be accomplished based on either cell or row in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridNavigationMode NavigationMode { get; set; }
    Property Value
    Type
    DataGridNavigationMode

    NotifyEventsToParentDataGrid

    Gets or sets a value that indicates whether to notify details view SerializableDataGrid or child data SerializableDataGrid events to the parent.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool NotifyEventsToParentDataGrid { get; set; }
    Property Value
    Type
    bool

    ReuseRowsOnItemssourceChange

    Gets or sets a value that indicates whether the rows are reused when the ItemsSource for DetailsViewDataGrid(reusing DetailsViewDataRow) has changed.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool ReuseRowsOnItemssourceChange { get; set; }
    Property Value
    Type
    bool

    RowHeaderWidth

    Gets or sets the width of the RowHeader.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double RowHeaderWidth { get; set; }
    Property Value
    Type
    double

    RowHeight

    Gets or sets the height of all data rows in SerializableDataGrid .

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public double RowHeight { get; set; }
    Property Value
    Type
    double

    SelectedIndex

    Gets or sets an index of the currently selected row.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int SelectedIndex { get; set; }
    Property Value
    Type
    int

    SelectionMode

    Gets or sets the value that indicates how the rows or cells are selected in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridSelectionMode SelectionMode { get; set; }
    Property Value
    Type
    DataGridSelectionMode

    SelectionUnit

    Gets or sets a value that decides the type of selection behavior to be performed in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridSelectionUnit SelectionUnit { get; set; }
    Property Value
    Type
    DataGridSelectionUnit

    ShowColumnWhenGrouped

    Gets or sets a value that indicates whether the column is displayed on SerializableDataGrid after it is grouped.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool ShowColumnWhenGrouped { get; set; }
    Property Value
    Type
    bool

    ShowRowHeader

    Gets or sets a value that indicates whether the RowHeader can be enabled in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool ShowRowHeader { get; set; }
    Property Value
    Type
    bool

    ShowSortNumbers

    Gets or sets a value that indicates whether the sequence number should be displayed on the header cell of sorted column during multi-column sorting.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool ShowSortNumbers { get; set; }
    Property Value
    Type
    bool

    SortColumnDescriptions

    Gets or sets the collection of SortColumnDescription objects that are used to perform programmatic sorting.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableSortColumnDescriptions? SortColumnDescriptions { get; set; }
    Property Value
    Type
    SerializableSortColumnDescriptions

    SortingGestureType

    Gets or sets a value that indicates how the sorting should be initiated.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridSortingGestureType SortingGestureType { get; set; }
    Property Value
    Type
    DataGridSortingGestureType

    SortingMode

    Gets or sets the value that indicates how the sorting should be applied.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridSortingMode SortingMode { get; set; }
    Property Value
    Type
    DataGridSortingMode

    StackedHeaderRows

    Gets or sets the collection of DataGridStackedHeaderRow that enables you to group more than one columns under particular category.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDataGridStackedHeaderRows? StackedHeaderRows { get; set; }
    Property Value
    Type
    SerializableDataGridStackedHeaderRows

    SummaryCalculationMode

    Gets or sets the mode for summary calculation.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public CalculationMode? SummaryCalculationMode { get; set; }
    Property Value
    Type
    CalculationMode?

    SwipeOffsetMode

    Gets or sets the DataGridSwipeOffsetMode that determines whether to use the MaxSwipeOffset or the swipe view's content width to calculate the swipe threshold.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridSwipeOffsetMode SwipeOffsetMode { get; set; }
    Property Value
    Type
    DataGridSwipeOffsetMode

    TableSummaryRows

    Gets or sets the collection of DataGridSummaryRow that displays the summary information of table either at top or bottom of SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDataGridTableSummaryRows? TableSummaryRows { get; set; }
    Property Value
    Type
    SerializableDataGridTableSummaryRows

    TransitionType

    Gets or sets a PullToRefreshTransitionType, decides the transition of progress indicator.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public PullToRefreshTransitionType TransitionType { get; set; }
    Property Value
    Type
    PullToRefreshTransitionType

    UnboundRows

    Gets or sets the collection of DataGridUnboundRow that displays the custom information in SerializableDataGrid.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public SerializableDataGridUnboundRows? UnboundRows { get; set; }
    Property Value
    Type
    SerializableDataGridUnboundRows

    ValidationMode

    Gets or sets a value to enable the built-in validation (IDataErrorInfo/DataAnnonations) to validate the user input and displays the error.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridValidationMode ValidationMode { get; set; }
    Property Value
    Type
    DataGridValidationMode

    VerticalOverScrollMode

    Gets or sets a value indicating what effect should be applied when SerializableDataGrid is vertically over-scrolled.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DataGridVerticalOverScrollMode VerticalOverScrollMode { get; set; }
    Property Value
    Type
    DataGridVerticalOverScrollMode

    VerticalScrollBarVisibility

    Gets or sets a value that controls when the vertical scrollbar is visible.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public ScrollBarVisibility? VerticalScrollBarVisibility { get; set; }
    Property Value
    Type
    ScrollBarVisibility
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved