ComponentOne WinUI Edition
Demos
Docs
Samples
Download
WinUI | ComponentOne
C1.WinUI.Grid Assembly
/
C1.WinUI.Grid Namespace
/
FlexGrid Class
/ Selection Property
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
Syntax
Remarks
See Also
WinUI Overview
Get Started with WinUI
Section 508 Compliance
Configure WinUI Application
Adding NuGet Packages to your App
Controls
API Reference
C1.WinUI.Accordion Assembly
C1.WinUI.BarCode Assembly
C1.WinUI.Calendar Assembly
C1.WinUI.Chart Assembly
C1.WinUI.Core Assembly
C1.WinUI.DataCollection Assembly
C1.WinUI.DataFilter Assembly
C1.WinUI.DataPager Assembly
C1.WinUI.DateTimeEditors Assembly
C1.WinUI.Grid Assembly
Namespaces
C1.WinUI.Grid Namespace
Overview
Classes
CheckListBehavior
DetailProviderRowHeaderCell
EmptyGridBehavior
FlexGrid
Overview
Members
FlexGrid Constructor
Methods
AutoSizeColumn Method
AutoSizeColumns Method
AutoSizeRow Method
AutoSizeRows Method
CollapseGroups Method
Copy Method
Cut Method
Dispose Method
Dispose(Boolean) Method
FinishRowEditing Method
GetAlternatingRowStyle Method
GetBottomLeftHeaderStyle Method
GetCellAtPosition Method
GetCellAtPosition(RoutedEventArgs) Method
GetCellAtPosition(Point) Method
GetCellDisplayValue<T> Method
GetCellStyle Method
GetCellText Method
GetCellText(GridCellRange) Method
GetCellText(GridCellType,GridCellRange) Method
GetCellText(GridCellType,GridRow,GridColumn) Method
GetCellValue Method
GetCellValue(GridCellRange) Method
GetCellValue(GridCellType,GridCellRange) Method
GetCellValue(GridCellType,GridRow,GridColumn) Method
GetColumnFooterSelectedStyle Method
GetColumnFooterStyle Method
GetColumnHeaderSelectedStyle Method
GetColumnHeaderStyle Method
GetCursorStyle Method
GetErrorStyle Method
GetGroupRowStyle Method
GetNewRowStyle Method
GetRowErrorStyle Method
GetRowHeaderErrorStyle Method
GetRowHeaderSelectedStyle Method
GetRowHeaderStyle Method
GetRowStyle Method
GetSelectedState Method
GetSelectedState(Int32,Int32) Method
GetSelectedTimes Method
GetSelectedTimes(Int32,Int32) Method
GetSelectedTimes(GridCellRange) Method
GetSelectionStyle Method
GetTopLeftHeaderStyle Method
HitTest Method
InvalidateAlternatingRowStyle Method
InvalidateBottomLeftHeaderStyle Method
InvalidateColumnFooterSelectedStyle Method
InvalidateColumnFooterStyle Method
InvalidateColumnHeaderSelectedStyle Method
InvalidateColumnHeaderStyle Method
InvalidateGroupRowStyle Method
InvalidateNewRowStyle Method
InvalidateRowHeaderSelectedStyle Method
InvalidateRowHeaderStyle Method
InvalidateRowStyle Method
InvalidateTopLeftHeaderStyle Method
LoadDesignTimeData Method
OnApplyTemplate Method
OnAutoGeneratingColumn Method
OnBeginningRowEdit Method
OnCreateAutomationPeer Method
OnIsReadOnlyChanged Method
OnRowEditEnded Method
OnRowEditEnding Method
Paste Method
PasteAsync Method
Refresh Method
Refresh() Method
Refresh(Nullable<GridCellType>,GridCellRange) Method
Save Method
Save(String,GridFileFormat,Encoding,GridSaveOptions) Method
Save(String,GridFileFormat,GridSaveOptions) Method
Save(String,GridFileFormat) Method
Save(Stream,GridFileFormat) Method
Save(Stream,GridFileFormat,GridSaveOptions) Method
Save(Stream,GridFileFormat,Encoding,GridSaveOptions) Method
Save(StreamWriter,GridFileFormat,GridSaveOptions) Method
ScrollIntoView Method
ScrollIntoView(Int32,Int32,Double,Boolean) Method
Select Method
Select(Int32,Int32,Boolean,Boolean) Method
Select(GridCellRange,Boolean,Boolean) Method
Select(IEnumerable<GridCellRange>,Boolean,Boolean) Method
SetCellValue Method
SetCellValue(GridCellRange,Object) Method
SetCellValue(GridCellType,GridCellRange,Object) Method
SetCellValue(GridCellType,Int32,Int32,Object) Method
SetCellValue(GridCellType,GridRow,GridColumn,Object) Method
SetCursor Method
SetCursor(Int32,Int32) Method
StartEditing Method
StartEditing(GridControlRange,Boolean,Boolean,Boolean) Method
StartEditing(Int32,Int32,Boolean,Boolean,Boolean) Method
StartEditingAsync Method
StartEditingAsync(Int32,Int32,Boolean,Boolean,Boolean) Method
StartEditingAsync(GridRow,GridColumn,Boolean,Boolean,Boolean) Method
Properties
ActualAlternatingRowStyle Property
ActualBottomLeftHeaderStyle Property
ActualColumnFooterSelectedStyle Property
ActualColumnFooterStyle Property
ActualColumnHeaderSelectedStyle Property
ActualColumnHeaderStyle Property
ActualErrorStyle Property
ActualGroupRowStyle Property
ActualNewRowStyle Property
ActualRowErrorStyle Property
ActualRowHeaderErrorStyle Property
ActualRowHeaderSelectedStyle Property
ActualRowHeaderStyle Property
ActualRowStyle Property
ActualTopLeftHeaderStyle Property
AllowDeleting Property
AllowDragging Property
AllowFiltering Property
AllowGrouping Property
AllowMerging Property
AllowResizing Property
AllowSorting Property
AlternatingRowBackground Property
AlternatingRowForeground Property
AlternatingRowStyle Property
AutoGenerateColumns Property
AutomationEnabled Property
AutoSizeMode Property
BottomLeftCells Property
BottomLeftHeaderBackground Property
BottomLeftHeaderForeground Property
BottomLeftHeaderGridLinesBrush Property
BottomLeftHeaderGridLinesVisibility Property
BottomLeftHeaderStyle Property
CellFactory Property
Cells Property
ChildItemsPath Property
ClassicStyle Property
ClipboardCopyMode Property
ColumnFooterBackground Property
ColumnFooterFontFamily Property
ColumnFooterFontSize Property
ColumnFooterFontStyle Property
ColumnFooterFontWeight Property
ColumnFooterForeground Property
ColumnFooterGridLinesBrush Property
ColumnFooterGridLinesVisibility Property
ColumnFooterRows Property
ColumnFooters Property
ColumnFooterSelectedBackground Property
ColumnFooterSelectedForeground Property
ColumnFooterSelectedStyle Property
ColumnFooterStyle Property
ColumnHeaderBackground Property
ColumnHeaderFontFamily Property
ColumnHeaderFontSize Property
ColumnHeaderFontStyle Property
ColumnHeaderFontWeight Property
ColumnHeaderForeground Property
ColumnHeaderGridLinesBrush Property
ColumnHeaderGridLinesVisibility Property
ColumnHeaderRows Property
ColumnHeaders Property
ColumnHeaderSelectedBackground Property
ColumnHeaderSelectedForeground Property
ColumnHeaderSelectedStyle Property
ColumnHeaderStyle Property
ColumnOptionsIconTemplate Property
ColumnOptionsMenuVisibility Property
Columns Property
CursorBackground Property
CursorForeground Property
CursorRange Property
DataCollection Property
DefaultColumnHeaderRowHeight Property
DefaultColumnWidth Property
DefaultGroupRowHeight Property
DefaultRowHeaderColumnWidth Property
DefaultRowHeight Property
EditIconTemplate Property
EditorBackground Property
EditorForeground Property
EditorRange Property
ErrorIconTemplate Property
ErrorStyle Property
ErrorToolTipStyle Property
FilterIconTemplate Property
FrozenBottomRows Property
FrozenColumns Property
FrozenRows Property
GroupCollapsedIconTemplate Property
GroupExpandedIconTemplate Property
GroupHeaderConverter Property
GroupHeaderFormat Property
GroupRowBackground Property
GroupRowFontFamily Property
GroupRowFontSize Property
GroupRowFontStyle Property
GroupRowFontWeight Property
GroupRowForeground Property
GroupRowPosition Property
GroupRowStyle Property
GroupSummariesPosition Property
HeadersVisibility Property
IsReadOnly Property
Item Property
Item(Int32,Int32) Property
Item(GridRow,GridColumn) Property
ItemsSource Property
MaxColumnWidth Property
MaxGroupLevel Property
MaxRowHeight Property
MergeManager Property
MinColumnWidth Property
MinRowHeight Property
MouseOverMode Property
NewRowBackground Property
NewRowForeground Property
NewRowIconTemplate Property
NewRowPlaceholder Property
NewRowPosition Property
NewRowStyle Property
RowBackground Property
RowErrorStyle Property
RowForeground Property
RowHeaderBackground Property
RowHeaderColumns Property
RowHeaderErrorStyle Property
RowHeaderFontFamily Property
RowHeaderFontSize Property
RowHeaderFontStyle Property
RowHeaderFontWeight Property
RowHeaderForeground Property
RowHeaderGridLinesBrush Property
RowHeaderGridLinesVisibility Property
RowHeaders Property
RowHeaderSelectedBackground Property
RowHeaderSelectedForeground Property
RowHeaderSelectedStyle Property
RowHeaderStyle Property
Rows Property
RowStyle Property
SelectedIndex Property
SelectedItem Property
SelectedItems Property
SelectedRanges Property
Selection Property
SelectionBackground Property
SelectionForeground Property
SelectionMode Property
ShowDesignTimeData Property
ShowErrors Property
ShowFilter Property
ShowOutlineBar Property
ShowSelectionMenu Property
ShowSort Property
SortAscendingIconTemplate Property
SortDescendingIconTemplate Property
SortIconPosition Property
SortIndeterminateIconTemplate Property
SummaryIconTemplate Property
TopLeftCells Property
TopLeftHeaderBackground Property
TopLeftHeaderForeground Property
TopLeftHeaderGridLinesBrush Property
TopLeftHeaderGridLinesVisibility Property
TopLeftHeaderStyle Property
TreeColumnIndex Property
TreeExpandMode Property
TreeIndent Property
TreeIndentMode Property
TreeLinesBrush Property
TreeLinesDashArray Property
TreeLinesMode Property
TreeLinesRadiusX Property
TreeLinesRadiusY Property
TreeLinesThickness Property
ViewRange Property
Fields
AllowDeletingProperty Field
AllowDraggingProperty Field
AllowFilteringProperty Field
AllowGroupingProperty Field
AllowMergingProperty Field
AllowResizingProperty Field
AllowSortingProperty Field
AlternatingRowBackgroundProperty Field
AlternatingRowForegroundProperty Field
AlternatingRowStyleProperty Field
AutoGenerateColumnsProperty Field
AutomationEnabledProperty Field
AutoSizeModeProperty Field
BottomLeftHeaderBackgroundProperty Field
BottomLeftHeaderForegroundProperty Field
BottomLeftHeaderGridLinesBrushProperty Field
BottomLeftHeaderGridLinesVisibilityProperty Field
BottomLeftHeaderStyleProperty Field
ChildItemsPathProperty Field
ClipboardCopyModeProperty Field
ColumnFooterBackgroundProperty Field
ColumnFooterFontFamilyProperty Field
ColumnFooterFontSizeProperty Field
ColumnFooterFontStyleProperty Field
ColumnFooterFontWeightProperty Field
ColumnFooterForegroundProperty Field
ColumnFooterGridLinesBrushProperty Field
ColumnFooterGridLinesVisibilityProperty Field
ColumnFooterSelectedBackgroundProperty Field
ColumnFooterSelectedForegroundProperty Field
ColumnFooterSelectedStyleProperty Field
ColumnFooterStyleProperty Field
ColumnHeaderBackgroundProperty Field
ColumnHeaderFontFamilyProperty Field
ColumnHeaderFontSizeProperty Field
ColumnHeaderFontStyleProperty Field
ColumnHeaderFontWeightProperty Field
ColumnHeaderForegroundProperty Field
ColumnHeaderGridLinesBrushProperty Field
ColumnHeaderGridLinesVisibilityProperty Field
ColumnHeaderSelectedBackgroundProperty Field
ColumnHeaderSelectedForegroundProperty Field
ColumnHeaderSelectedStyleProperty Field
ColumnHeaderStyleProperty Field
ColumnOptionsIconTemplateProperty Field
ColumnOptionsMenuVisibilityProperty Field
CursorBackgroundProperty Field
CursorForegroundProperty Field
DefaultColumnHeaderRowHeightProperty Field
DefaultColumnWidthProperty Field
DefaultGroupRowHeightProperty Field
DefaultRowHeaderColumnWidthProperty Field
DefaultRowHeightProperty Field
EditIconTemplateProperty Field
EditorBackgroundProperty Field
EditorForegroundProperty Field
ErrorIconTemplateProperty Field
ErrorStyleProperty Field
ErrorToolTipStyleProperty Field
FilterIconTemplateProperty Field
FrozenBottomRowsProperty Field
FrozenColumnsProperty Field
FrozenRowsProperty Field
GroupCollapsedIconTemplateProperty Field
GroupExpandedIconTemplateProperty Field
GroupHeaderConverterProperty Field
GroupHeaderFormatProperty Field
GroupRowBackgroundProperty Field
GroupRowFontFamilyProperty Field
GroupRowFontSizeProperty Field
GroupRowFontStyleProperty Field
GroupRowFontWeightProperty Field
GroupRowForegroundProperty Field
GroupRowPositionProperty Field
GroupRowStyleProperty Field
GroupSummariesPositionProperty Field
HeadersVisibilityProperty Field
IsReadOnlyProperty Field
ItemsSourceProperty Field
MaxColumnWidthProperty Field
MaxRowHeightProperty Field
MinColumnWidthProperty Field
MinRowHeightProperty Field
MouseOverModeProperty Field
NewRowBackgroundProperty Field
NewRowForegroundProperty Field
NewRowIconTemplateProperty Field
NewRowPlaceholderProperty Field
NewRowPositionProperty Field
NewRowStyleProperty Field
RowBackgroundProperty Field
RowErrorStyleProperty Field
RowForegroundProperty Field
RowHeaderBackgroundProperty Field
RowHeaderErrorStyleProperty Field
RowHeaderFontFamilyProperty Field
RowHeaderFontSizeProperty Field
RowHeaderFontStyleProperty Field
RowHeaderFontWeightProperty Field
RowHeaderForegroundProperty Field
RowHeaderGridLinesBrushProperty Field
RowHeaderGridLinesVisibilityProperty Field
RowHeaderSelectedBackgroundProperty Field
RowHeaderSelectedForegroundProperty Field
RowHeaderSelectedStyleProperty Field
RowHeaderStyleProperty Field
RowStyleProperty Field
SelectedIndexProperty Field
SelectedItemProperty Field
SelectionBackgroundProperty Field
SelectionForegroundProperty Field
SelectionModeProperty Field
ShowDesignTimeDataProperty Field
ShowErrorsProperty Field
ShowFilterProperty Field
ShowOutlineBarProperty Field
ShowSelectionMenuProperty Field
ShowSortProperty Field
SortAscendingIconTemplateProperty Field
SortDescendingIconTemplateProperty Field
SortIconPositionProperty Field
SortIndeterminateIconTemplateProperty Field
SummaryIconTemplateProperty Field
TopLeftHeaderBackgroundProperty Field
TopLeftHeaderForegroundProperty Field
TopLeftHeaderGridLinesBrushProperty Field
TopLeftHeaderGridLinesVisibilityProperty Field
TopLeftHeaderStyleProperty Field
TreeColumnIndexProperty Field
TreeExpandModeProperty Field
TreeIndentModeProperty Field
TreeIndentProperty Field
TreeLinesBrushProperty Field
TreeLinesDashArrayProperty Field
TreeLinesModeProperty Field
TreeLinesRadiusXProperty Field
TreeLinesRadiusYProperty Field
TreeLinesThicknessProperty Field
Events
AutoGeneratingColumn Event
BeginningEdit Event
BeginningRowEdit Event
CellDoubleTapped Event
CellEditEnded Event
CellEditEnding Event
CellLongPressed Event
CellTapped Event
CreatingSelectionMenu Event
CursorChanged Event
CursorChanging Event
GroupCollapsedChanged Event
GroupCollapsedChanging Event
ItemsSourceChanged Event
ItemsSourceChanging Event
PrepareCellForEdit Event
ResizedColumn Event
ResizedRow Event
ResizingColumn Event
ResizingRow Event
RowEditEnded Event
RowEditEnding Event
SelectionChanged Event
SelectionChanging Event
FlexGridDetailProvider
FlexGridDetailProvider<TItem>
FullTextFilterBehavior
GridAggregateFunction
GridAggregateFunctionCollection
GridAutoGeneratingColumnEventArgs
GridBoundRow
GridCellEditEventArgs
GridCellFactory
GridCellFactoryNotifyChange
GridCellRange
GridCellRangeEventArgs
GridCellView
GridColumn
GridColumnCollection
GridColumnHeaderCell
GridDataMap
GridDateTimeColumn
GridDetailCellCreatingEventArgs
GridDetailLoadingEventArgs<TItem>
GridDetailRow<TItem>
GridFilterCell
GridFilterRow
GridGroupRow
GridGroupRowCell
GridHitTestInfo
GridHyperlinkColumn
GridImageColumn
GridIncrementalLoadingCell
GridIncrementalLoadingRow
GridInputEventArgs
GridMenuItem
GridMergeManager
GridNewRow
GridNumericColumn
GridOutlineEventArgs
GridPanel
GridRow
GridRowCol
GridRowColCollection<T>
GridRowCollection
GridRowHeaderColumn
GridSelectedItemsCollection
GridSelectionEventArgs
GridSelectionMenu
GridSelectionMenuEventArgs
GridSummaryCell
GridSummaryRow
GridWrapCellFactory
TransposedGridBehavior
TransposedGridCellFactory
Enumerations
FullTextFilterMode
GridAggregate
GridAllowDragging
GridAllowMerging
GridAllowResizing
GridAutoSizeMode
GridCellType
GridClipboardCopyMode
GridColumnOptionsMenuVisibility
GridDateTimeColumnMode
GridDetailVisibilityMode
GridFileFormat
GridGroupRowPosition
GridGroupSummariesPosition
GridHeadersVisibility
GridMouseOverMode
GridNewRowPosition
GridRowColType
GridSaveOptions
GridSelectionMode
GridSortIconPosition
GridTreeExpandMode
GridTreeIndentMode
GridTreeLine
GridTreeLinesMode
GridValidationIndicator
C1.WinUI.Grid.Automation Namespace
Overview
Classes
FlexGridAutomationPeer
GridCellAutomationPeer
GridCellViewAutomationPeer
GridPanelPeer
GridRowAutomationPeer
GridVirtualAutomationPeer
C1.WinUI.Grid.C1_WinUI_Grid_XamlTypeInfo Namespace
Overview
C1.WinUI.Grid.Resources Namespace
Overview
C1.WinUI.GridControl Assembly
C1.WinUI.Input Assembly
C1.WinUI.Menu Assembly
C1.WinUI.Rendering Assembly
C1.WinUI.Viewer Assembly
Release History
Selection Property (FlexGrid)
In This Topic
Syntax
Remarks
See Also
Gets or sets the current selection.
Syntax
C#
public
new
GridCellRange
Selection {
get
;
set
;}
Remarks
If more than one range is selected use
SelectedRanges
property instead.
See Also
Reference
FlexGrid Class
FlexGrid Members