[]
        
(Showing Draft Content)

C1.WinUI.Grid.FlexGrid

FlexGrid Class

Control used to display and edit tabular information.

Inheritance
FlexGrid
Namespace: C1.WinUI.Grid
Assembly: C1.WinUI.Grid.dll
Syntax
public class FlexGrid : C1GridControl, IDisposable, INotifyPropertyChanged
Remarks

Supports virtualized data-binding and automatic sorting and filters in client/server scenarios.

Constructors

Name Description
FlexGrid()

Initializes a new instance of the FlexGrid class.

Fields

Name Description
AllowDeletingProperty

Identifies the AllowDeleting dependency property.

AllowDraggingProperty

Identifies the AllowDragging dependency property.

AllowFilteringProperty

Identifies the AllowFiltering dependency property.

AllowGroupingProperty

Identifies the AllowGrouping dependency property.

AllowMergingProperty

Identifies the AllowMerging dependency property.

AllowResizingProperty

Identifies the AllowResizing dependency property.

AllowSortingProperty

Identifies the AllowSorting dependency property.

AlternatingRowBackgroundProperty

Identifies the AlternatingRowBackground dependency property.

AlternatingRowForegroundProperty

Identifies the AlternatingRowForeground dependency property.

AlternatingRowStyleProperty

Identifies the AlternatingRowStyle dependency property.

AutoGenerateColumnsProperty

Identifies the AutoGenerateColumns dependency property.

AutoSizeModeProperty

Identifies the AutoSizeMode dependency property.

AutomationEnabledProperty

Identifies the AutomationEnabled dependency property.

BottomLeftHeaderBackgroundProperty

Identifies the BottomLeftHeaderBackground dependency property.

BottomLeftHeaderForegroundProperty

Identifies the BottomLeftHeaderForeground dependency property.

BottomLeftHeaderGridLinesBrushProperty

Identifies the BottomLeftHeaderGridLinesBrush dependency property.

BottomLeftHeaderGridLinesVisibilityProperty

Identifies the BottomLeftHeaderGridLinesVisibility dependency property.

BottomLeftHeaderStyleProperty

Identifies the BottomLeftHeaderStyle dependency property.

ChildItemsPathProperty

Identifies the ChildItemsPath dependency property.

ClipboardCopyModeProperty

Identifies the ClipboardCopyMode dependency property.

ColumnFooterBackgroundProperty

Identifies the ColumnFooterBackground dependency property.

ColumnFooterFontFamilyProperty

Identifies the ColumnFooterFontFamily dependency property.

ColumnFooterFontSizeProperty

Identifies the ColumnFooterFontSize dependency property.

ColumnFooterFontStyleProperty

Identifies the ColumnFooterFontStyle dependency property.

ColumnFooterFontWeightProperty

Identifies the ColumnFooterFontWeight dependency property.

ColumnFooterForegroundProperty

Identifies the ColumnFooterForeground dependency property.

ColumnFooterGridLinesBrushProperty

Identifies the ColumnFooterGridLinesBrush dependency property.

ColumnFooterGridLinesVisibilityProperty

Identifies the ColumnFooterGridLinesVisibility dependency property.

ColumnFooterSelectedBackgroundProperty

Identifies the ColumnFooterSelectedBackground dependency property.

ColumnFooterSelectedForegroundProperty

Identifies the ColumnFooterSelectedForeground dependency property.

ColumnFooterSelectedStyleProperty

Identifies the ColumnFooterSelectedStyle dependency property.

ColumnFooterStyleProperty

Identifies the ColumnFooterStyle dependency property.

ColumnHeaderBackgroundProperty

Identifies the ColumnHeaderBackground dependency property.

ColumnHeaderFontFamilyProperty

Identifies the ColumnHeaderFontFamily dependency property.

ColumnHeaderFontSizeProperty

Identifies the ColumnHeaderFontSize dependency property.

ColumnHeaderFontStyleProperty

Identifies the ColumnHeaderFontStyle dependency property.

ColumnHeaderFontWeightProperty

Identifies the ColumnHeaderFontWeight dependency property.

ColumnHeaderForegroundProperty

Identifies the ColumnHeaderForeground dependency property.

ColumnHeaderGridLinesBrushProperty

Identifies the ColumnHeaderGridLinesBrush dependency property.

ColumnHeaderGridLinesVisibilityProperty

Identifies the ColumnHeaderGridLinesVisibility dependency property.

ColumnHeaderSelectedBackgroundProperty

Identifies the ColumnHeaderSelectedBackground dependency property.

ColumnHeaderSelectedForegroundProperty

Identifies the ColumnHeaderSelectedForeground dependency property.

ColumnHeaderSelectedStyleProperty

Identifies the ColumnHeaderSelectedStyle dependency property.

ColumnHeaderStyleProperty

Identifies the ColumnHeaderStyle dependency property.

ColumnOptionsIconTemplateProperty

Identifies the ColumnOptionsIconTemplate dependency property.

ColumnOptionsMenuVisibilityProperty

Identifies the ColumnOptionsMenuVisibility dependency property.

CursorBackgroundProperty

Identifies the CursorBackground dependency property.

CursorForegroundProperty

Identifies the CursorForeground dependency property.

DefaultColumnHeaderRowHeightProperty

Identifies the DefaultColumnHeaderRowHeight dependency property.

DefaultColumnWidthProperty

Identifies the DefaultColumnWidth dependency property.

DefaultGroupRowHeightProperty

Identifies the DefaultGroupRowHeight dependency property.

DefaultRowHeaderColumnWidthProperty

Identifies the DefaultRowHeaderColumnWidth dependency property.

DefaultRowHeightProperty

Identifies the DefaultRowHeight dependency property.

EditIconTemplateProperty

Identifies the EditIconTemplate dependency property.

EditorBackgroundProperty

Identifies the EditorBackground dependency property.

EditorForegroundProperty

Identifies the EditorForeground dependency property.

ErrorIconTemplateProperty

Identifies the ErrorIconTemplate dependency property.

ErrorStyleProperty

Identifies the ErrorStyle dependency property.

ErrorToolTipStyleProperty

Identifies the ErrorToolTipStyle dependency property.

FilterIconTemplateProperty

Identifies the FilterIconTemplate dependency property.

FrozenBottomRowsProperty

Identifies the FrozenBottomRows dependency property.

FrozenColumnsProperty

Identifies the FrozenColumns dependency property.

FrozenRowsProperty

Identifies the FrozenRows dependency property.

GroupCollapsedIconTemplateProperty

Identifies the GroupCollapsedIconTemplate dependency property.

GroupExpandedIconTemplateProperty

Identifies the GroupExpandedIconTemplate dependency property.

GroupHeaderConverterProperty

Identifies the GroupHeaderConverter dependency property.

GroupHeaderFormatProperty

Identifies the GroupHeaderFormat dependency property.

GroupRowBackgroundProperty

Identifies the GroupRowBackground dependency property.

GroupRowFontFamilyProperty

Identifies the GroupRowFontFamily dependency property.

GroupRowFontSizeProperty

Identifies the GroupRowFontSize dependency property.

GroupRowFontStyleProperty

Identifies the GroupRowFontStyle dependency property.

GroupRowFontWeightProperty

Identifies the GroupRowFontWeight dependency property.

GroupRowForegroundProperty

Identifies the GroupRowForeground dependency property.

GroupRowPositionProperty

Identifies the GroupRowPosition dependency property.

GroupRowStyleProperty

Identifies the GroupRowStyle dependency property.

GroupSummariesPositionProperty

Identifies the GroupSummariesPosition dependency property.

HeadersVisibilityProperty

Identifies the HeadersVisibility dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

MaxColumnWidthProperty

Identifies the MaxColumnWidth dependency property.

MaxRowHeightProperty

Identifies the MaxRowHeight dependency property.

MinColumnWidthProperty

Identifies the MinColumnWidth dependency property.

MinRowHeightProperty

Identifies the MinRowHeight dependency property.

MouseOverModeProperty

Identifies the MouseOverMode dependency property.

NewRowBackgroundProperty

Identifies the NewRowBackground dependency property.

NewRowForegroundProperty

Identifies the NewRowForeground dependency property.

NewRowIconTemplateProperty

Identifies the NewRowIconTemplate dependency property.

NewRowPlaceholderProperty

Identifies the NewRowPlaceholder dependency property.

NewRowPositionProperty

Identifies the NewRowPosition dependency property.

NewRowStyleProperty

Identifies the NewRowStyle dependency property.

RowBackgroundProperty

Identifies the RowBackground dependency property.

RowErrorStyleProperty

Identifies the RowErrorStyle dependency property.

RowForegroundProperty

Identifies the RowForeground dependency property.

RowHeaderBackgroundProperty

Identifies the RowHeaderBackground dependency property.

RowHeaderErrorStyleProperty

Identifies the RowHeaderErrorStyle dependency property.

RowHeaderFontFamilyProperty

Identifies the RowHeaderFontFamily dependency property.

RowHeaderFontSizeProperty

Identifies the RowHeaderFontSize dependency property.

RowHeaderFontStyleProperty

Identifies the RowHeaderFontStyle dependency property.

RowHeaderFontWeightProperty

Identifies the RowHeaderFontWeight dependency property.

RowHeaderForegroundProperty

Identifies the RowHeaderForeground dependency property.

RowHeaderGridLinesBrushProperty

Identifies the RowHeaderGridLinesBrush dependency property.

RowHeaderGridLinesVisibilityProperty

Identifies the RowHeaderGridLinesVisibility dependency property.

RowHeaderSelectedBackgroundProperty

Identifies the RowHeaderSelectedBackground dependency property.

RowHeaderSelectedForegroundProperty

Identifies the RowHeaderSelectedForeground dependency property.

RowHeaderSelectedStyleProperty

Identifies the RowHeaderSelectedStyle dependency property.

RowHeaderStyleProperty

Identifies the RowHeaderStyle dependency property.

RowStyleProperty

Identifies the RowStyle dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

SelectionBackgroundProperty

Identifies the SelectionBackground dependency property.

SelectionForegroundProperty

Identifies the SelectionForeground dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

ShowDesignTimeDataProperty

Identifies the ShowDesignTimeData dependency property.

ShowErrorsProperty

Identifies the ShowErrors dependency property.

ShowFilterProperty

Identifies the ShowFilter dependency property.

ShowOutlineBarProperty

Identifies the ShowOutlineBar dependency property.

ShowSelectionMenuProperty

Identifies the ShowSelectionMenu dependency property.

ShowSortProperty

Identifies the ShowSort dependency property.

SortAscendingIconTemplateProperty

Identifies the SortAscendingIconTemplate dependency property.

SortDescendingIconTemplateProperty

Identifies the SortDescendingIconTemplate dependency property.

SortIconPositionProperty

Identifies the SortIconPosition dependency property.

SortIndeterminateIconTemplateProperty

Identifies the SortIndeterminateIconTemplate dependency property.

SummaryIconTemplateProperty

Identifies the SummaryIconTemplate dependency property.

TopLeftHeaderBackgroundProperty

Identifies the TopLeftHeaderBackground dependency property.

TopLeftHeaderForegroundProperty

Identifies the TopLeftHeaderForeground dependency property.

TopLeftHeaderGridLinesBrushProperty

Identifies the TopLeftHeaderGridLinesBrush dependency property.

TopLeftHeaderGridLinesVisibilityProperty

Identifies the TopLeftHeaderGridLinesVisibility dependency property.

TopLeftHeaderStyleProperty

Identifies the TopLeftHeaderStyle dependency property.

TreeColumnIndexProperty

Identifies the TreeColumnIndex dependency property.

TreeExpandModeProperty

Identifies the TreeExpandMode dependency property.

TreeIndentModeProperty

Identifies the TreeIndentMode dependency property.

TreeIndentProperty

Identifies the TreeIndent dependency property.

TreeLinesBrushProperty

Identifies the TreeLinesBrush dependency property.

TreeLinesDashArrayProperty

Identifies the TreeLinesDashArray dependency property.

TreeLinesModeProperty

Identifies the TreeLinesMode dependency property.

TreeLinesRadiusXProperty

Identifies the TreeLinesRadiusX dependency property.

TreeLinesRadiusYProperty

Identifies the TreeLinesRadiusY dependency property.

TreeLinesThicknessProperty

Identifies the TreeLinesThickness dependency property.

Properties

Name Description
ActualAlternatingRowStyle

Gets the actual style that will be applied to the cells of an odd-numbered row.

ActualBottomLeftHeaderStyle

Gets the actual style that will be applied to the bottom-left header cells.

ActualColumnFooterSelectedStyle

Gets the actual style that will be applied to the column-footer cells when they are selected.

ActualColumnFooterStyle

Gets the actual style that will be applied to the column-footer cells.

ActualColumnHeaderSelectedStyle

Gets the actual style that will be applied to the column-header cells when they are selected.

ActualColumnHeaderStyle

Gets the actual style that will be applied to the column-header cells.

ActualErrorStyle

Gets the actual style that will be applied to cells with errors.

ActualGroupRowStyle

Gets the actual style that will be applied to cells of a group row.

ActualNewRowStyle

Gets the actual style that will be applied to cells of a new-row.

ActualRowErrorStyle

Gets the actual style that will be applied to cells with errors.

ActualRowHeaderErrorStyle

Gets the actual style that will be applied to row-header cells with errors.

ActualRowHeaderSelectedStyle

Gets the actual style that will be applied to the row-header cells when they are selected.

ActualRowHeaderStyle

Gets the actual style that will be applied to the row-header cells.

ActualRowStyle

Gets the actual style that will be applied to the cells of a row.

ActualTopLeftHeaderStyle

Gets the actual style that will be applied to the top-left header cells.

AllowDeleting

Determines whether row deleting is allowed.

AllowDragging

Gets or sets a value that indicates whether users are allowed to move rows and columns to new positions.

AllowFiltering

Gets or sets whether users are allowed to filter this column.

AllowGrouping

Gets or sets whether users are allowed to group the grid.

AllowMerging

Gets or sets a value that indicates which parts of the grid support cell merging.

AllowResizing

Gets or sets a value that indicates whether users are allowed to resize rows and columns.

AllowSorting

Gets or sets whether users are allowed to sort columns by tapping or clicking the column header cells.

AlternatingRowBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of odd-numbered rows.

AlternatingRowForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the foreground of odd-numbered rows.

AlternatingRowStyle

Gets or sets the Microsoft.UI.Xaml.Style of the odd-numbered rows cells.

AutoGenerateColumns

Gets or sets a value to determine whether columns are generated automatically from the properties of the items of ItemsSource.

AutoSizeMode

Gets or sets which cells should be taken into account when auto-sizing a row or column.

AutomationEnabled

Gets or sets whether an automation peer will be created when requested by system.

BottomLeftCells

Gets the GridPanel that contains the cells in the lower left corner of the grid.

BottomLeftHeaderBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of the cell at the bottom-left corner of the grid.

BottomLeftHeaderForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the bottom-left header text and glyphs.

BottomLeftHeaderGridLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the lines between bottom-left header cells.

BottomLeftHeaderGridLinesVisibility

Gets or sets a value that indicates which grid lines separating bottom-left header cells are shown.

BottomLeftHeaderStyle

Gets or sets the Microsoft.UI.Xaml.Style of the bottom-left headers.

CellFactory

Gets or sets the factory of cells.

Cells

Gets the GridPanel that contains the data cells in the grid.

ChildItemsPath

Gets or sets the name of the property used to generate child rows.

ClassicStyle

Gets a style that mimics excel-style.

ClipboardCopyMode

Gets or sets a value that indicates how content is copied to the clipboard.

ColumnFooterBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the column footer background.

ColumnFooterFontFamily

Gets or sets the font family applied to column footer cells.

ColumnFooterFontSize

Gets or sets the font size applied to column footer cells.

ColumnFooterFontStyle

Gets or sets the font style applied to column footer cells.

ColumnFooterFontWeight

Gets or sets the font weight applied to column footer cells.

ColumnFooterForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the column footer text and glyphs.

ColumnFooterGridLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the lines between column footer cells.

ColumnFooterGridLinesVisibility

Gets or sets a value that indicates which grid lines separating column footer cells are shown.

ColumnFooterRows

Gets the collection of rows of the column footers.

ColumnFooterSelectedBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint column footer background for selected cells.

ColumnFooterSelectedForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint column footer foreground for selected cells.

ColumnFooterSelectedStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to the selected column footers.

ColumnFooterStyle

Gets or sets the Microsoft.UI.Xaml.Style of the column footers.

ColumnFooters

Gets the GridPanel that contains the column footer cells.

ColumnHeaderBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the column header background.

ColumnHeaderFontFamily

Gets or sets the font family applied to column header cells.

ColumnHeaderFontSize

Gets or sets the font size applied to column header cells.

ColumnHeaderFontStyle

Gets or sets the font style applied to column header cells.

ColumnHeaderFontWeight

Gets or sets the font weight applied to column header cells.

ColumnHeaderForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the column header text and glyphs.

ColumnHeaderGridLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the lines between column header cells.

ColumnHeaderGridLinesVisibility

Gets or sets a value that indicates which grid lines separating column header cells are shown.

ColumnHeaderRows

Gets the collection of rows of the column headers.

ColumnHeaderSelectedBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint column header background for selected cells.

ColumnHeaderSelectedForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint column header foreground for selected cells.

ColumnHeaderSelectedStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to the selected column headers.

ColumnHeaderStyle

Gets or sets the Microsoft.UI.Xaml.Style of the column headers.

ColumnHeaders

Gets the GridPanel that contains the column header cells.

ColumnOptionsIconTemplate

Gets or sets the template used to create the icon displayed in the column header showing there are options.

ColumnOptionsMenuVisibility

Gets or sets the visibility of the column-header menu.

Columns

Gets the collection of columns of the grid.

CursorBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of cursor cell.

CursorForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the text of cursor cell.

CursorRange

Gets the GridCellRange that corresponds to the cursor cell.

DataCollection

Gets the inner collection view.

DefaultColumnHeaderRowHeight

Gets or sets the default height of the rows used to display column headers.

DefaultColumnWidth

Gets or sets the default width of the columns.

DefaultGroupRowHeight

Gets or sets the default height of the group rows.

DefaultRowHeaderColumnWidth

Gets or sets the default width of the columns used to display row headers.

DefaultRowHeight

Gets or sets the default height of the rows.

EditIconTemplate

Gets or sets the template used to create the icon displayed in the header when a row is being edited.

EditorBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of cells in edit mode.

EditorForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the foreground of cells in edit mode.

EditorRange

Gets the GridCellRange that corresponds to the cell currently being edited.

ErrorIconTemplate

Gets or sets the template used to create the icon displayed in the header when a row has an error.

ErrorStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to cells with errors.

ErrorToolTipStyle

Gets or sets the style applied to the error tooltips.

FilterIconTemplate

Gets or sets the template used to create the filter icon used throughout the control.

FrozenBottomRows

Gets or sets the number of frozen rows at the bottom.

FrozenColumns

Gets or sets the number of frozen columns.

FrozenRows

Gets or sets the number of frozen rows.

GroupCollapsedIconTemplate

Gets or sets the template used to create the icon displayed when the group is collapsed.

GroupExpandedIconTemplate

Gets or sets the template used to create the icon displayed when the group is expanded.

GroupHeaderConverter

Gets or sets the Microsoft.UI.Xaml.Data.IValueConverter used to create the content shown in GridGroupRow cells to summarize group information.

GroupHeaderFormat

Gets or sets the format string used to create the group header content.

GroupRowBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the group row background.

GroupRowFontFamily

Gets or sets the font family applied to group row cells.

GroupRowFontSize

Gets or sets the font size applied to group row cells.

GroupRowFontStyle

Gets or sets the font style applied to group row cells.

GroupRowFontWeight

Gets or sets the font weight applied to group row cells.

GroupRowForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the text and glyphs of the group rows.

GroupRowPosition

Gets or sets a value that indicates where group rows should be displayed with respect to the data.

GroupRowStyle

Gets or sets the Microsoft.UI.Xaml.Style of the group-row cells.

GroupSummariesPosition

Gets or sets a value that indicates where the group-summaries are shown.

HeadersVisibility

Gets or sets a value that indicates the visibility of row and column headers.

IsReadOnly

Gets or sets a value to determine whether the grid is read-only.

this[GridRow, GridColumn]

Gets or sets the value of the cell specified by its row and column.

this[int, int]

Gets or sets the value of the cell specified by its row and column.

ItemsSource

Gets or sets the collection of items.

MaxColumnWidth

Gets or sets the maximum width of columns in the FlexGrid.

MaxGroupLevel

Gets the maximum group level present in the grid.

MaxRowHeight

Gets or sets the maximum height of rows in the FlexGrid.

MergeManager

Gets or sets the merge manager.

MinColumnWidth

Gets or sets the minimum width of columns in the FlexGrid.

MinRowHeight

Gets or sets the minimum height of rows in the FlexGrid.

MouseOverMode

Gets or sets how the mouse over mode.

NewRowBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the new row background.

NewRowForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the text and glyphs of the new row.

NewRowIconTemplate

Gets or sets the template used to create the icon displayed in the header of a new row.

NewRowPlaceholder

Gets or sets the message displayed in the new row template.

NewRowPosition

Gets or sets a value that indicates whether the new row template should be displayed at the bottom or at the top of the grid, or if there should not be displayed.

NewRowStyle

Gets or sets the Microsoft.UI.Xaml.Style of the new-row cells.

RowBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint row backgrounds.

RowErrorStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to cells whose row has errors.

RowForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint row foreground.

RowHeaderBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the row header background.

RowHeaderColumns

Gets the collection of columns of the row header.

RowHeaderErrorStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to row header cells whose row has errors.

RowHeaderFontFamily

Gets or sets the font family applied to row header cells.

RowHeaderFontSize

Gets or sets the font size applied to row header cells.

RowHeaderFontStyle

Gets or sets the font style applied to row header cells.

RowHeaderFontWeight

Gets or sets the font weight applied to row header cells.

RowHeaderForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the row header text and glyphs.

RowHeaderGridLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the lines between row header cells.

RowHeaderGridLinesVisibility

Gets or sets a value that indicates which grid lines separating row header cells are shown.

RowHeaderSelectedBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint row header background for selected cells.

RowHeaderSelectedForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint row header foreground for selected cells.

RowHeaderSelectedStyle

Gets or sets the Microsoft.UI.Xaml.Style applied to the selected row headers.

RowHeaderStyle

Gets or sets the Microsoft.UI.Xaml.Style of the row headers.

RowHeaders

Gets the GridPanel that contains the row header cells.

RowStyle

Gets or sets the Microsoft.UI.Xaml.Style of the normal rows cells.

Rows

Gets the collection of rows of the grid.

SelectedIndex

Gets or sets the selected row index.

SelectedItem

Gets or sets the selected data item.

SelectedItems

Gets the collection of selected data items.

SelectedRanges

Gets or sets the current selected ranges.

Selection

Gets or sets the current selection.

SelectionBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of selected cells.

SelectionForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the selected text.

SelectionMode

Gets or sets how the cells, columns or rows are selected.

ShowDesignTimeData

Gets or sets whether the control generates design-time data.

ShowErrors

Gets or sets whether the errors are shown.

ShowFilter

Gets or sets whether the grid should display filter indicators in the column headers.

ShowOutlineBar

Gets or sets a value that determines whether the grid should display the outline button bar.

ShowSelectionMenu

Gets or sets a value that indicates whether the grid shows menu when select rows or cells.

ShowSort

Gets or sets whether the grid should display sort indicators in the column headers.

SortAscendingIconTemplate

Gets or sets the template of the sort icon when it is sorted ascending.

SortDescendingIconTemplate

Gets or sets the template of the sort icon when it is sorted descending.

SortIconPosition

Gets or sets the position of the sort icon inside the column header.

SortIndeterminateIconTemplate

Gets or sets the template of the sort icon when it is not sorted yet.

SummaryIconTemplate

Gets or sets the template used to create the summary row icon used throughout the control.

TopLeftCells

Gets the GridPanel that contains the cells in the upper left corner of the grid.

TopLeftHeaderBackground

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the background of the cell at the top-left corner of the grid.

TopLeftHeaderForeground

Gets or sets the Microsoft.UI.Xaml.Media.Brush of the top-left header text and glyphs.

TopLeftHeaderGridLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the lines between top-left header cells.

TopLeftHeaderGridLinesVisibility

Gets or sets a value that indicates which grid lines separating top-left header cells are shown.

TopLeftHeaderStyle

Gets or sets the Microsoft.UI.Xaml.Style of the top-left headers.

TreeColumnIndex

Gets or sets the index of the column that will display the expand/collapse buttons in GridGroupRow's.

TreeExpandMode

Gets or sets the mode the tree created after setting the property ChildItemsPath.

TreeIndent

Gets or sets the indent used to offset each group of rows in the grid.

TreeIndentMode

Gets or sets how cells are indented.

TreeLinesBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint tree-lines.

TreeLinesDashArray

Gets or sets the dash-array of the tree-lines.

TreeLinesMode

Gets or sets whether and how the tree-lines are displayed to connect parent-children rows.

TreeLinesRadiusX

Gets or sets the horizontal radius of the tree-lines.

TreeLinesRadiusY

Gets or sets the vertical radius of the tree-lines.

TreeLinesThickness

Gets or sets the width of the tree-lines.

ViewRange

Gets a GridCellRange value that indicates the range of cells currently visible on the grid.

Methods

Name Description
AutoSizeColumn(int, GridRowColType)

Resizes a column to fit their visible content.

AutoSizeColumns(int, int, GridRowColType)

Resizes a column range to fit their visible content.

AutoSizeRow(int, GridRowColType)

Resizes a row to fit their visible contents.

AutoSizeRows(int, int, GridRowColType)

Resizes a row range to fit their visible contents.

CollapseGroups(int)

Collapses the groups.

Copy(bool, bool)

Copy the current selection to the clipboard.

CreateSelectionMenu(IReadOnlyList<GridCellRange>)

Creates the selection menu.

Cut()

Cut the current selection and copy to the clipboard.

Dispose(bool)
FinishRowEditing(bool, bool)

Finishes the row editing.

GetAlternatingRowStyle()

Gets the style that is applied to the alternating row cells.

GetBottomLeftHeaderStyle()

Gets the style that is applied to the bottom-left header cells.

GetCellAtPosition(RoutedEventArgs)

Gets the cell at the specified pointer position.

GetCellAtPosition(Point)

Gets the cell at the specified pointer position.

GetCellDisplayValue<T>(GridCellType, GridRow, GridColumn)

Gets the value to display corresponding to the cell in the specified row and column.

GetCellStyle()

Gets the style that is applied to the cells.

GetCellText(GridCellRange)

Gets the text corresponding to the cell in the specified range.

GetCellText(GridCellType, GridCellRange)

Gets the text corresponding to the cell in the specified range.

GetCellText(GridCellType, GridRow, GridColumn)

Gets the text corresponding to the cell in the specified row and column.

GetCellValue(GridCellRange)

Gets the raw value corresponding to the cell in the specified range.

GetCellValue(GridCellType, GridCellRange)

Gets the raw value corresponding to the cell in the specified range.

GetCellValue(GridCellType, GridRow, GridColumn)

Gets the raw value corresponding to the cell in the specified row and column.

GetColumnFooterSelectedStyle()

Gets the style that is applied to the selected column-footer cells.

GetColumnFooterStyle()

Gets the style that is applied to the column-footer cells.

GetColumnHeaderSelectedStyle()

Gets the style that is applied to the selected column-header cells.

GetColumnHeaderStyle()

Gets the style that is applied to the column-header cells.

GetCursorStyle()

Gets the style that is applied to the cursor cells.

GetErrorStyle()

Gets the style that is applied to the cells with errors.

GetGroupRowStyle()

Gets the style that is applied to the group-row cells.

GetNewRowStyle()

Gets the style that is applied to the new-row cells.

GetRowErrorStyle()

Gets the style that is applied to the cells whose row has errors.

GetRowHeaderErrorStyle()

Gets the style that is applied to the row-header cells whose row has errors.

GetRowHeaderSelectedStyle()

Gets the style that is applied to the selected row-header cells.

GetRowHeaderStyle()

Gets the style that is applied to the row-header cells.

GetRowStyle()

Gets the style that is applied to the row cells.

GetSelectedState(int, int)

Gets a GridSelectedState value that indicates the selected state of the cells in a specified column and row.

GetSelectedTimes(GridCellRange)

Gets the number of times a cell is selected.

GetSelectedTimes(int, int)

Gets the number of times a cell is selected.

GetSelectionStyle()

Gets the style that is applied to the selected cells.

GetTopLeftHeaderStyle()

Gets the style that is applied to the top-left header cells.

HitTest(RoutedEventArgs)

Gets a GridHitTestInfo object that contains information about the grid at a given location.

InvalidateAlternatingRowStyle()

Flags the ActualAlternatingRowStyle to be created again.

InvalidateBottomLeftHeaderStyle()

Flags the ActualBottomLeftHeaderStyle to be created again.

InvalidateColumnFooterSelectedStyle()

Flags the ActualColumnFooterSelectedStyle to be created again.

InvalidateColumnFooterStyle()

Flags the ActualColumnFooterStyle to be created again.

InvalidateColumnHeaderSelectedStyle()

Flags the ActualColumnHeaderSelectedStyle to be created again.

InvalidateColumnHeaderStyle()

Flags the ActualColumnHeaderStyle to be created again.

InvalidateGroupRowStyle()

Flags the ActualGroupRowStyle to be created again.

InvalidateNewRowStyle()

Flags the ActualNewRowStyle to be created again.

InvalidateRowHeaderSelectedStyle()

Flags the ActualRowHeaderSelectedStyle to be created again.

InvalidateRowHeaderStyle()

Flags the ActualRowHeaderStyle to be created again.

InvalidateRowStyle()

Flags the ActualRowStyle to be created again.

InvalidateTopLeftHeaderStyle()

Flags the ActualTopLeftHeaderStyle to be created again.

IsMouseOverRange(GridControlRange)

Gets or sets whether the cell in the specified range has the mouse over, considering the MouseOverMode and SelectionMode.

LoadDesignTimeData()

Loads dummy design time content visible in Storyboard and Android designer

OnApplyTemplate()
OnAutoGeneratingColumn(GridAutoGeneratingColumnEventArgs)

Raises the AutoGeneratingColumn event.

OnBeginningEdit(GridControlEditEventArgs)

Raises the BeginningEdit event.

OnBeginningRowEdit(GridCellEditEventArgs)

Raises the BeginningRowEdit event.

OnCellDoubleTapped(GridControlTapEventArgs)

Called when a cell is double tapped.

OnCellDoubleTapped(GridInputEventArgs)

Called when a cell is double tapped.

OnCellEditEnded(GridControlEditEventArgs)

Called when the edit of a cell ended.

OnCellEditEnding(GridControlEditEventArgs)

Raises the CellEditEnding event.

OnCellLongPressed(GridControlTapEventArgs)

Called when a cell is being held.

OnCellLongPressed(GridInputEventArgs)

Called when a cell is being held.

OnCellTapped(GridControlTapEventArgs)

Called when a cell is tapped.

OnCellTapped(GridInputEventArgs)

Called when a cell is tapped.

OnCreateAutomationPeer()
OnCreatingSelectionMenu(GridSelectionMenuEventArgs)

Raises the CreatingSelectionMenu event giving the opportunity to customize the menu that will be displayed.

OnCursorChanged(GridCellRangeEventArgs)

Raises the CursorChanged event.

OnCursorChanged(GridControlRangeEventArgs)

Called after the cursor changed.

OnCursorChanging(GridCellRangeEventArgs)

Raises the CursorChanging event.

OnCursorChanging(GridControlRangeEventArgs)

Called before the cursor changed.

OnGroupCollapsedChanged(GridCellRangeEventArgs)

Raises the GroupCollapsedChanged event.

OnGroupCollapsedChanging(GridCellRangeEventArgs)

Raises the GroupCollapsedChanging event.

OnIsReadOnlyChanged()

Called when the property IsReadOnly changed.

OnPrepareCellForEdit(GridControlEditEventArgs)

Raises the PrepareCellForEdit event.

OnResizedColumn(GridCellRangeEventArgs)

Raises the ResizedColumn event.

OnResizedRow(GridCellRangeEventArgs)

Raises the ResizedRow event.

OnResizingColumn(GridCellRangeEventArgs)

Raises the ResizingColumn event.

OnResizingRow(GridCellRangeEventArgs)

Raises the ResizingRow event.

OnRowEditEnded(GridCellEditEventArgs)

Raises the RowEditEnded event.

OnRowEditEnding(GridCellEditEventArgs)

Raises the RowEditEnding event.

OnSelectionChanged(GridControlSelectionEventArgs)

Called after the selection changed.

OnSelectionChanged(GridSelectionEventArgs)

Raises the SelectionChanged event.

OnSelectionChanging(GridControlSelectionEventArgs)

Called before the selection changed.

OnSelectionChanging(GridSelectionEventArgs)

Raises the SelectionChanging event.

Paste()

Pastes the content of the clipboard to the grid.

PasteAsync(bool)

Pastes the content of the clipboard to the grid.

Refresh()

Recreates all the cells.

Refresh(GridCellType?, GridCellRange)

Refreshes the specified cells.

Save(Stream, GridFileFormat)

Saves the contents of the grid to an UTF8-encoded stream.

Save(Stream, GridFileFormat, GridSaveOptions)

Saves the contents of the grid to an UTF8-encoded stream.

Save(Stream, GridFileFormat, Encoding, GridSaveOptions)

Saves the contents of the grid to a stream.

Save(StreamWriter, GridFileFormat, GridSaveOptions)

Saves the contents of the grid to a StreamWriter.

Save(string, GridFileFormat)

Saves the contents of the grid to an UTF8-encoded file.

Save(string, GridFileFormat, GridSaveOptions)

Saves the contents of the grid to an UTF8-encoded file.

Save(string, GridFileFormat, Encoding, GridSaveOptions)

Saves the contents of the grid to a file.

ScrollIntoView(int, int, double, bool)

Scrolls the grid to bring a specific cell into view.

Select(GridCellRange, bool, bool)

Selects a given cell and optionally scrolls it into view.

Select(IEnumerable<GridCellRange>, bool, bool)

Selects a collection of cell ranges and optionally scrolls it into view.

Select(int, int, bool, bool)

Selects a given cell and optionally scrolls it into view.

SetCellValue(GridCellRange, object)

Sets the value corresponding to the cell in the specified range.

SetCellValue(GridCellType, GridCellRange, object)

Sets the value corresponding to the cell in the specified range.

SetCellValue(GridCellType, GridRow, GridColumn, object)

Sets the value corresponding to the cell in the specified row and column.

SetCellValue(GridCellType, int, int, object)

Sets the value corresponding to the cell in the specified range.

SetCursor(int, int)

Sets the cursor of the grid to the specified row and column.

StartEditing(GridControlRange, bool, bool, bool)

Starts editing a specific cell.

StartEditing(int, int, bool, bool, bool)

Starts editing a specific cell.

StartEditingAsync(GridRow, GridColumn, bool, bool, bool)

Starts the editing of the specified cell asynchronously.

StartEditingAsync(int, int, bool, bool, bool)

Starts the editing of the specified cell asynchronously.

Events

Name Description
AutoGeneratingColumn

Occurs when an auto-generated column is being created.

BeginningEdit

Occurs when the edit of a cell is about to start.

BeginningRowEdit

Occurs when the edit of a row is about to start.

CellDoubleTapped

Occurs when a cell is double tapped.

CellEditEnded

Occurs after the edit of a cell is committed.

CellEditEnding

Occurs before the edit of a cell is committed.

CellLongPressed

Occurs when a cell is being held.

CellTapped

Occurs when a cell is tapped.

CreatingSelectionMenu

Occurs when the selection menu is created. This event can be used to customize the displayed menu.

CursorChanged

Occurs after the cursor is changed.

CursorChanging

Occurs before the cursor is changed.

GroupCollapsedChanged

Occurs after the IsCollapsed property of a GridGroupRow object changes.

GroupCollapsedChanging

Occurs before the IsCollapsed property of a GridGroupRow object changes.

ItemsSourceChanged

Occurs after the items source is changed.

ItemsSourceChanging

Occurs before the items source is changed.

PrepareCellForEdit

Occurs when an editor cell is created and before it becomes active.

ResizedColumn

Occurs when the user finishes resizing a column.

ResizedRow

Occurs when the user finishes resizing a row.

ResizingColumn

Occurs when the user starts resizing a column.

ResizingRow

Occurs when the user starts resizing a row.

RowEditEnded

Occurs when a row edit has been committed or canceled.

RowEditEnding

Occurs when a row edit is ending.

SelectionChanged

Occurs after selection changed.

SelectionChanging

Occurs before selection is changed.