[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid

C1FlexGrid Class

C1FlexGrid control.

Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexGrid.4.6.2.dll
Syntax
[TemplatePart(Name = "_root", Type = typeof(Grid))]
[TemplatePart(Name = "_sbV", Type = typeof(ScrollBar))]
[TemplatePart(Name = "_sbH", Type = typeof(ScrollBar))]
public class C1FlexGrid : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IPrintFactory

Constructors

Name Description
C1FlexGrid()

Initializes a new instance of a C1FlexGrid.

Fields

Name Description
ActiveFilterIconTemplateProperty

Identifies the ActiveFilterIconTemplate dependency property.

AllowAddNewProperty

Identifies the AllowAddNew dependency property.

AllowDraggingProperty

Identifies the AllowDragging dependency property.

AllowFreezingProperty

Identifies the AllowFreezing 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.

AreRowDetailsFrozenProperty

Identifies the AreRowDetailsFrozen dependency property.

AreRowGroupHeadersFrozenProperty

Identifies the AreRowGroupHeadersFrozen dependency property.

AutoCompleteProperty

Identifies the AutoComplete dependency property.

AutoGenerateColumnsProperty

Identifies the AutoGenerateColumns dependency property.

BottomRightCellBackgroundProperty

Identifies the BottomRightCellBackground dependency property.

ChildItemsPathProperty

Identifies the ChildItemsPath dependency property.

ClipboardCopyModeProperty

Identifies the ClipboardCopyMode dependency property.

ClipboardPasteModeProperty

Identifies the ClipboardPasteMode dependency property.

CollapsedIconTemplateProperty

Identifies the CollapsedIconTemplate dependency property.

ColumnHeaderBackgroundProperty

Identifies the ColumnHeaderBackground dependency property.

ColumnHeaderForegroundProperty

Identifies the ColumnHeaderForeground dependency property.

ColumnHeaderSelectedBackgroundProperty

Identifies the ColumnHeaderSelectedBackground dependency property.

CursorBackgroundProperty

Identifies the CursorBackground dependency property.

CursorForegroundProperty

Identifies the CursorForeground dependency property.

DeferScrollingProperty

Identifies the DeferScrolling dependency property.

DragDropIndicatorBrushProperty

Identifies the DragDropIndicatorBrush dependency property.

EditorBackgroundProperty

Identifies the EditorBackground dependency property.

EditorForegroundProperty

Identifies the EditorBackground dependency property.

ExpandedAboveIconTemplateProperty

Identifies the ExpandedAboveIconTemplate dependency property.

ExpandedBelowIconTemplateProperty

Identifies the ExpandedBelowIconTemplate dependency property.

FrozenLinesBrushProperty

Identifies the FrozenLinesBrush dependency property.

GridLinesBrushProperty

Identifies the GridLinesBrush dependency property.

GridLinesVisibilityProperty

Identifies the GridLinesVisibility dependency property.

GroupHeaderConverterProperty

Identifies the GroupHeaderConverter dependency property.

GroupRowBackgroundProperty

Identifies the GroupRowBackground dependency property.

GroupRowForegroundProperty

Identifies the GroupRowForeground dependency property.

GroupRowPositionProperty

Identifies the GroupRowPosition dependency property.

HeaderFontWeightProperty

Identifies the HeaderFontWeightProperty dependency property.

HeaderGridLinesBrushProperty

Identifies the HeaderGridLinesBrush dependency property.

HeadersVisibilityProperty

Identifies the HeadersVisibility dependency property.

HorizontalScrollBarVisibilityProperty

Identifies the HorizontalScrollBarVisibility dependency property.

InactiveFilterIconTemplateProperty

Identifies the InactiveFilterIconTemplate dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

IsSynchronizedWithCurrentItemProperty

Identifies the IsSynchronizedWithCurrentItem dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

KeepCurrentVisibleProperty

Identifies the KeepCurrentVisible dependency property.

KeyActionEnterProperty

Identifies the KeyActionEnter dependency property.

KeyActionTabProperty

Identifies the KeyActionTab dependency property.

MarqueeColorProperty

Identifies the MarqueeColor 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.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

MouseOverModeProperty

Identifies the MouseOverMode dependency property.

NewRowBackgroundProperty

Identifies the NewRowBackground dependency property.

NewRowIconTemplateProperty

Identifies the NewRowIconTemplate dependency property.

NewRowPositionProperty

Identifies the NewRowPosition dependency property.

RowBackgroundProperty

Identifies the RowBackground dependency property.

RowDetailsTemplateProperty

Identifies the RowDetailsTemplate dependency property.

RowDetailsVisibilityModeProperty

Identifies the RowDetailsVisibilityMode dependency property.

RowHeaderBackgroundProperty

Identifies the RowHeaderBackground dependency property.

RowHeaderForegroundProperty

Identifies the RowHeaderForeground dependency property.

RowHeaderSelectedBackgroundProperty

Identifies the RowHeaderSelectedBackground dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

SelectedItemsProperty

Identifies the SelectedItems dependency property.

SelectionBackgroundProperty

Identifies the SelectionBackground dependency property.

SelectionForegroundProperty

Identifies the SelectionForeground dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

ShowErrorsProperty

Identifies the ShowErrors dependency property.

ShowMarqueeProperty

Identifies the ShowMarquee dependency property.

ShowOutlineBarProperty

Identifies the ShowOutlineBarProperty dependency property.

ShowSortProperty

Identifies the ShowSort dependency property.

SortAscendingIconTemplateProperty

Identifies the SortAscendingIconTemplate dependency property.

SortDescendingIconTemplateProperty

Identifies the SortDescendingIconTemplate dependency property.

TopLeftCellBackgroundProperty

Identifies the TopLeftCellBackground dependency property.

TreeIndentProperty

Identifies the TreeIndent dependency property.

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility dependency property.

Properties

Name Description
ActiveEditor

Gets the cell editor that is currently active.

ActiveFilterIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the active filter icon when the column is not filtered.

AllowAddNew

Gets or sets a value that indicates whether the grid should provide a new row template so users can add items to the source collection.

AllowDragging

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

AllowFreezing

Gets or sets a value that indicates whether users are allowed to freeze rows and columns using the mouse.

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 using the mouse.

AllowSorting

Gets or sets a value that indicates whether users are allowed to sort columns by clicking the column header cells.

AlternatingRowBackground

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

AreRowDetailsFrozen

Gets or sets a value that indicates whether the row details remain fixed at the width of the display area or can scroll horizontally.

AreRowGroupHeadersFrozen

Gets or sets a value that indicates whether the row group header sections remain fixed at the width of the display area or can scroll horizontally.

AutoComplete

Gets or sets a value that determines whether the control should try to automatically complete entries as the user types, based on other entries in the same column (like Microsoft Excel does).

AutoGenerateColumns

Gets or sets a value that indicates whether columns are created automatically when the ItemsSource property is set.

BottomLeftCells

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

BottomRightCellBackground

Gets or sets the Brush that is used to paint the background of the cell at the bottom right corner of the grid.

CellFactory

Gets or sets the ICellFactory class responsible for creating and destroying FrameworkElement objects used to represent grid 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.

ClipboardCopyMode

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

ClipboardPasteMode

Gets or sets a value that indicates how content is pasted from the clipboard.

CollapsedIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the group icon when the item group/detail is collapsed.

CollectionView

Gets the ICollectionView that represents the current data source.

ColumnFooterRows

Gets the collection of column footer rows.

ColumnFooters

Gets the GridPanel that contains the column footer cells.

ColumnHeaderBackground

Gets or sets the Brush that is used to paint column header backgrounds.

ColumnHeaderForeground

Gets or sets the Brush that is used to paint column header content.

ColumnHeaderSelectedBackground

Gets or sets the Brush that is used to paint column header backgrounds for selected cells.

ColumnHeaders

Gets the GridPanel that contains the column header cells.

ColumnLayout

Gets or sets a string that defines the current column layout.

Columns

Gets the collection of columns in the grid.

CursorBackground

Gets or sets the Brush that is used to paint the background of the cursor cell.

CursorForeground

Gets or sets the Brush that is used to paint the foreground of the cursor cell.

DeferScrolling

Gets or sets a value that determines whether scrolling should be deferred until the user releases the scrollbar thumb.

DragDropIndicatorBrush

Gets or sets the brush of drop indicator when drag columns or rows.

EditorBackground

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

EditorForeground

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

EditorRange

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

ErrorStyle

Gets or sets the CellStyle used to highlight cells that contain errors.

ExpandedAboveIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the icon when the item group/detail is expanded above.

ExpandedBelowIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the group icon when the item group/detail is expanded below.

FrozenColumns

Gets or sets the number of non-scrollable columns.

FrozenLinesBrush

Gets or sets the Brush that is used to paint the lines between frozen and scrollable areas of the grid.

FrozenRows

Gets or sets the number of non-scrollable rows.

GridLinesBrush

Gets or sets the Brush that is used to paint the lines between cells.

GridLinesVisibility

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

GroupHeaderConverter

Gets or sets the IValueConverter used to create the content shown in GroupRow cells to summarize group information.

GroupRowBackground

Gets or sets the Brush that is used to paint the background of group rows.

GroupRowForeground

Gets or sets the Brush that is used to paint the foreground of group rows.

GroupRowPosition

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

HeaderFontWeight

Gets or sets the FontWeight used to render text in header cells.

HeaderGridLinesBrush

Gets or sets the Brush that is used to paint the lines between row and column header cells.

HeadersVisibility

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

HorizontalScrollBarVisibility

Gets or sets a value that indicates how the horizontal scroll bar is displayed.

InactiveFilterIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the inactive filter icon when the column is filtered.

IsReadOnly

Gets or sets a value that indicates whether the user can edit values in the grid.

IsSynchronizedWithCurrentItem

Gets or sets a value that determines whether the control should synchronize the selection with the selection in the ItemsSource property.

this[int, Column]

Gets or sets the value of a specific cell.

this[int, int]

Gets or sets the value of a specific cell.

this[int, string]

Gets or sets the value of a specific cell.

ItemType

Gets the type of item contained in the current data source.

ItemsSource

Gets or sets a collection that is used to generate the content of the control.

KeepCurrentVisible

Gets or sets a value that indicates whether the grid should automatically scroll to keep the current item visible.

KeyActionEnter

Gets or sets a value that indicates the action performed by the grid when the user presses the Enter key.

KeyActionTab

Gets or sets a value that indicates the action performed by the grid when the user presses the Tab key.

Marquee

Gets the Rectangle used to show the Excel-style marquee around the current selection.

MarqueeColor

Gets or sets the Brush that is used to the stroke of the Marquee.

MaxColumnWidth

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

MaxRowHeight

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

MergeManager

Gets or sets the IMergeManager class responsible for handling cell merging on the grid.

MinColumnWidth

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

MinRowHeight

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

MouseOverBrush

Gets or sets the Brush that is used to paint the background of hover cells.

MouseOverMode

Gets or sets how the mouse over mode.

NewRowBackground

Gets or sets the Brush that is used to paint the background of the new row template.

NewRowIconTemplate

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

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.

RowBackground

Gets or sets the Brush that is used to paint row backgrounds.

RowDetailsTemplate

Gets or sets the DataTemplate used to present the details part of a row.

RowDetailsVisibilityMode

The details part can be automatically opened when the row is selected, can be always visible, or can be always collapsed.

RowHeaderBackground

Gets or sets the Brush that is used to paint row header backgrounds.

RowHeaderForeground

Gets or sets the Brush that is used to paint row header content.

RowHeaderSelectedBackground

Gets or sets the Brush that is used to paint row header backgrounds for selected cells.

RowHeaders

Gets the GridPanel that contains the row header cells.

Rows

Gets the collection of rows in the grid.

ScrollPosition

Gets or sets a value that represents the value of the grid scroll bars.

SelectedIndex

Gets or sets the index of the data item corresponding to the selected row.

SelectedItem

Gets or sets the data item corresponding to the selected row.

SelectedItems

Gets a collection of data items corresponding to the currently selected rows.

Selection

Gets or sets the current selection.

SelectionBackground

Gets or sets the Brush that is used to paint the background of selected cells excluding the cursor cell.

SelectionForeground

Gets or sets the Brush that is used to paint the foreground of selected cells excluding the cursor cell.

SelectionMode

Gets or sets the grid's selection mode.

ShowErrors

Gets or sets a value that determines whether the grid should display validation errors.

ShowMarquee

Gets or sets a value that indicates whether the grid shows an Excel-style marquee around the current selection.

ShowOutlineBar

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

ShowSort

Gets or sets a value that indicates whether the grid shows the current sort state by adding a glyph to the column headers of sorted columns.

SortAscendingIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the sort icon when the column is sorted in ascending order.

SortDescendingIconTemplate

Gets or sets the C1.WPF.C1IconTemplate used to present the sort icon when the column is sorted in descending order.

TopLeftCellBackground

Gets or sets the Brush that is used to paint the background of the cell at the left top corner of the grid.

TopLeftCells

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

TreeIndent

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

VerticalScrollBarVisibility

Gets or sets a value that indicates how the vertical scroll bar is displayed.

ViewRange

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

Methods

Name Description
ArrangeOverride(Size)

Provides the behavior for the arrange part of the control layout.

AutoSizeColumn(int, double)

Resizes a column to fit its visible contents.

AutoSizeColumns(int, int, double)

Resizes a column range to fit their visible content.

AutoSizeColumns(int, int, double, bool, bool)

Resizes a column range to fit their content.

AutoSizeFixedColumn(int, double)

Resizes a fixed column to fit its visible contents.

AutoSizeFixedColumns(int, int, double)

Resizes a range of fixed columns to fit their visible contents.

AutoSizeFixedColumns(int, int, double, bool, bool)

Resizes a range of fixed columns to fit their content.

AutoSizeFixedRow(int, double)

Resizes a fixed row to fit its visible contents.

AutoSizeFixedRows(int, int, double)

Resizes a range of fixed rows to fit their visible contents.

AutoSizeFixedRows(int, int, double, bool)

Resizes a range of fixed rows to fit their content.

AutoSizeRow(int, double)

Resizes a row to fit its visible contents.

AutoSizeRows(int, int, double)

Resizes a row range to fit their visible contents.

AutoSizeRows(int, int, double, bool)

Resizes a row range to fit their content.

CollapseGroupsToLevel(int)

Collapses all the group rows to a given level.

Copy()

Copy the current selection to the clipboard.

CreateBoundRow(object)

Creates a row bound to a given data item.

CreateBoundRowWithDetails(object)

Creates a details row bound to a given data item.

CreateBoundRows()

Creates rows bound to each data item in the current data source.

CreateGroupRows()
CreateGroupRows(bool)

Creates group rows for the items in the current data source.

CreatePrintPaginator(Size, List<FrameworkElement>, PrintParameters, List<int>, List<int>, double)

Factory method to create printing paginator.

FinishEditing()

Commits any pending edits and exits edit mode.

FinishEditing(bool)

Commits or cancels any pending edits and exits edit mode.

GetAggregate(Aggregate, CellRange)

Calculates aggregate statistics for a cell range.

GetCellFactory()

Gets the ICellFactory class responsible for creating and destroying FrameworkElement objects used to represent grid cells.

GetClipString(CellRange, ClipboardCopyMode)

Gets a range of cells as a string suitable for copying to the clipboard.

GetClipString(ClipboardCopyMode)

Gets the current selection as a string suitable for copying to the clipboard.

GetDataIndex(int)

Returns index of data item in the items source for the specified row index.

GetGridImage(CellRange, ScaleMode)

Gets a FrameworkElement that represents a given part of the grid.

GetGridImage(CellRange, Size, ScaleMode)

Gets a FrameworkElement that represents a given part of the grid stretched to desired size.

GetPageBreaks(CellRange, ScaleMode, Size, List<int>, List<int>)

Fills the lists of row and column breaks used to generate the pages.

GetPageImages(CellRange, ScaleMode, Size, int)

Gets a list of elements that represent parts of the grid fit for rendering into pages of a document.

GetPageImages(ScaleMode, Size, int)

Gets a list of elements that represent parts of the grid fit for rendering into pages of a document.

GetRowIndex(int)

Returns index of row representing data item with the specified index.

GetSelectedState(CellRange)

Gets a SelectedState value that indicates the selected state of the cells in a CellRange.

GetUnboundString(ClipboardCopyMode)
GetZoom(CellRange, ScaleMode, Size)

Calculates the zoom factor to use based on the size of the range to print, scale mode, and page size.

HitTest(Point)

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

HitTest(RoutedEventArgs)

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

IncludeInAggregate(Row, Column)

Gets a value that determines whether a cell should be included in the aggregates calculated with the GetAggregate(Aggregate, CellRange) method.

Invalidate()

Forces the grid to re-create all visible elements.

Invalidate(CellRange)

Forces the grid to re-create the elements in a given CellRange.

Invalidate(bool)

Forces the grid to re-create all visible elements.

LoadColumnLayout(XmlReader)

Loads a column layout from an XmlReader.

OnApplyTemplate()

Applies the template defined in the Template property.

OnAutoGeneratingColumn(AutoGeneratingColumnEventArgs)

Raises the AutoGeneratingColumn event.

OnBeginningEdit(CellEditEventArgs)

Raises the BeginningEdit event.

OnCellEditEnded(CellEditEventArgs)

Raises the CellEditEnded event.

OnCellEditEnding(CellEditEventArgs)

Raises the CellEditEnding event.

OnClick(MouseButtonEventArgs)

Raises the Click event.

OnCreateAutomationPeer()

Gets an AutomationPeer object used for testing the control.

OnCustomAggregate(CustomAggregateEventArgs)

Raises the CustomAggregate event.

OnDoubleClick(MouseButtonEventArgs)

Raises the DoubleClick event.

OnDraggedColumn(CellRangeEventArgs)

Raises the DraggedColumn event.

OnDraggedFrozenColumn(CellRangeEventArgs)

Raises the DraggedFrozenColumn event.

OnDraggedFrozenRow(CellRangeEventArgs)

Raises the DraggedFrozenRow event.

OnDraggedRow(CellRangeEventArgs)

Raises the DraggedRow event.

OnDraggingColumn(CellRangeEventArgs)

Raises the DraggingColumn event.

OnDraggingFrozenColumn(CellRangeEventArgs)

Raises the DraggingFrozenColumn event.

OnDraggingFrozenRow(CellRangeEventArgs)

Raises the DraggingFrozenRow event.

OnDraggingRow(CellRangeEventArgs)

Raises the DraggingRow event.

OnGroupCollapsedChanged(CellRangeEventArgs)

Raises the GroupCollapsedChanged event.

OnGroupCollapsedChanging(CellRangeEventArgs)

Raises the GroupCollapsedChanging event.

OnItemsSourceChanged(EventArgs)

Raises the ItemsSourceChanged event.

OnItemsSourceChanging(EventArgs)

Raises the ItemsSourceChanging event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnLoadedRows(EventArgs)

Raises the LoadedRows event.

OnLoadingRows(EventArgs)

Raises the LoadingRows event.

OnPrepareCellForEdit(CellEditEventArgs)

Raises the PrepareCellForEdit event.

OnResizedColumn(CellRangeEventArgs)

Raises the ResizedColumn event.

OnResizedRow(CellRangeEventArgs)

Raises the ResizedRow event.

OnResizingColumn(CellRangeEventArgs)

Raises the ResizingColumn event.

OnResizingRow(CellRangeEventArgs)

Raises the ResizingRow event.

OnRowEditEnded(CellEditEventArgs)

Raises the RowEditEnded event.

OnRowEditEnding(CellEditEventArgs)

Raises the RowEditEnding event.

OnScrollPositionChanged(EventArgs)

Raises the ScrollPositionChanged event.

OnScrollPositionChanging(EventArgs)

Raises the ScrollPositionChanging event.

OnScrollingDeferred(CellRangeEventArgs)

Raises the ScrollingDeferred event.

OnSelectedItemChanged(EventArgs)

Raises the SelectedItemChanged property.

OnSelectionChanged(CellRangeEventArgs)

Raises the SelectionChanged event.

OnSelectionChanging(CellRangeEventArgs)

Raises the SelectionChanging event.

OnSortedColumn(CellRangeEventArgs)

Raises the SortedColumn event.

OnSortingColumn(CellRangeEventArgs)

Raises the SortingColumn event.

Paste()

Pastes the content of the clipboard to the grid.

Print(PrintParameters)

Prints the grid using the specified print parameters.

Print(string)

Prints the grid.

Print(string, ScaleMode, Thickness, int)

Prints the grid using a specified oscale mode and margin.

PrintPreview(PrintParameters)

Displays the window with the print preview content.

PrintPreview(string, ScaleMode, Thickness, int)

Displays the window with the print preview content.

Save(Stream, FileFormat)

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

Save(Stream, FileFormat, SaveOptions)

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

Save(Stream, FileFormat, Encoding, SaveOptions)

Saves the contents of the grid to a stream.

Save(StreamWriter, FileFormat, SaveOptions)

Saves the contents of the grid to a StreamWriter.

Save(string, FileFormat)

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

Save(string, FileFormat, SaveOptions)

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

Save(string, FileFormat, Encoding, SaveOptions)

Saves the contents of the grid to a file.

SaveColumnLayout(XmlWriter)

Saves the current column layout to an XmlWriter.

ScrollIntoView(int, int)

Scrolls the grid to bring a specific cell into view.

Select(CellRange, bool)

Selects a given cell and optionally scrolls it into view.

Select(int, int)

Selects a given cell.

Select(int, int, bool)

Selects a given cell and optionally scrolls it into view.

Select(int, int, int, int, bool)

Selects cell range and optionally scrolls it into view.

SelectAll()

Selects all cells.

SetClipString(string, CellRange, ClipboardCopyMode)

Parses a string into rows and columns and applies the content to a given range.

ShowPrintPreviewWindow(Window)

Show the print preview window.

StartEditing(bool)

Starts editing the cell that is currently selected.

StartEditing(bool, int, int)

Starts editing a specific cell.

Events

Name Description
AutoGeneratingColumn

Occurs when an auto-generated column is being created.

BeginningEdit

Occurs before a cell enters editing mode.

CellEditEnded

Occurs when a cell edit has been committed or canceled.

CellEditEnding

Occurs when a cell edit is ending.

Click

Occurs when the user clicks the mouse over the grid.

CustomAggregate

Occurs when the grid needs to calculate a custom aggregate.

DoubleClick

Occurs when the user double-clicks the mouse over the grid.

DraggedColumn

Occurs when the user finishes dragging a column to a new position using the mouse.

DraggedFrozenColumn

Occurs when the user finishes dragging a frozen row border with the mouse.

DraggedFrozenRow

Occurs when the user finishes dragging a frozen row border with the mouse.

DraggedRow

Occurs when the user finishes dragging a row to a new position using the mouse.

DraggingColumn

Occurs when the user starts dragging a column to a new position using the mouse.

DraggingFrozenColumn

Occurs when the user finishes dragging a frozen row border with the mouse.

DraggingFrozenRow

Occurs when the user finishes dragging a frozen row border with the mouse.

DraggingRow

Occurs when the user starts dragging a row to a new position using the mouse.

GroupCollapsedChanged

Occurs after the IsCollapsed property of a GroupRow object changes.

GroupCollapsedChanging

Occurs before the IsCollapsed property of a GroupRow object changes.

ItemsSourceChanged

Occurs after the value of the ItemsSource property changes.

ItemsSourceChanging

Occurs when the value of the ItemsSource property is about to change.

LoadedRows

Occurs when the grid finishes loading the rows with items from the data source.

LoadingRows

Occurs when the grid starts loading the rows with items from the data source.

PrepareCellForEdit

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

ResizedColumn

Occurs when the user finishes resizing a column with the mouse.

ResizedRow

Occurs when the user finishes resizing a row with the mouse.

ResizingColumn

Occurs when the user starts resizing a column with the mouse.

ResizingRow

Occurs when the user starts resizing a row with the mouse.

RowEditEnded

Occurs when a row edit has been committed or canceled.

RowEditEnding

Occurs when a row edit is ending.

ScrollPositionChanged

Occurs after the value of the ScrollPosition property changes.

ScrollPositionChanging

Occurs before the value of the ScrollPosition property changes.

ScrollingDeferred

Occurs when scrolling is deferred while the user drags a scrollbar thumb.

SelectedItemChanged

Occurs when the value of the SelectedItem property changes.

SelectionChanged

Occurs after the value of the Selection property changes.

SelectionChanging

Occurs before the value of the Selection property changes.

SortedColumn

Occurs after a column is sorted when the user clicks a column header.

SortingColumn

Occurs before a column is sorted when the user clicks a column header.