[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase

C1FlexGridBase Class

Base class for the C1FlexGrid control.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
[ComplexBindingProperties("DataSource", "DataMember")]
public abstract class C1FlexGridBase : ScrollableControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IFlexGridMultiRow, IFormattableView, IFlexDataGrid, ISupportInitialize

Constructors

Name Description
C1FlexGridBase()

Creates a new instance of the C1FlexGridBase control.

Properties

Name Description
AllowAddNew

Gets or sets whether the grid should display a new row template after the last data row.

AllowDelete

Gets or sets whether the grid should monitor the keyboard and handle the DEL key.

AllowDragging

Gets or sets whether the user is allowed to drag rows and columns with the mouse.

AllowEditing

Gets or sets whether the user is allowed to edit grid contents.

AllowFiltering

Gets or sets whether the user is allowed to filter the data.

AllowFreezing

Gets or sets whether the user is allowed to freeze rows and columns with the mouse.

AllowNodeCellCheck

Gets or sets whether the user is allowed to change the state of the checkbox in a grid node.

AllowPinning

Gets or sets a value that determines whether the grid should add pin buttons to the column headers and how the pin buttons behave.

AllowResizing

Gets or sets whether the user is allowed to resize rows and columns with the mouse.

AllowSorting

Gets or sets whether the user is allowed to sort columns using the mouse.

AreRowDetailsFrozen

Gets or sets the bool value specifying whether row details should be horizontally scrolled along with the C1FlexGrid control content.

AutoClipboard

Gets or sets whether the grid should handle the clipboard keys and automatically perform cut, copy, paste, and delete operations.

AutoGenerateColumns

Gets or sets whether columns are automatically created when the grid is bound to a data source.

AutoResize

Gets or sets whether column widths are automatically adjusted when data is loaded.

AutoSearch

Gets or sets whether the grid should move the cursor searching for entries as the user types.

AutoSearchDelay

Gets or sets the delay (in seconds) before the AutoSearch buffer is reset.

BackColor

Gets or sets the background color for the control.

BottomRow

Gets the last visible row in the scrollable area.

C1SuperErrorProvider

Gets or sets an C1SuperErrorProvider object used to indicate error state of the control.

CellButtonImage

Gets or sets the image to be used in cell buttons.

CellLabelDelay

Gets or sets the period of time, in milliseconds, that the mouse pointer remains over a cell whose contents are partially hidden, before the tooltip label is displayed.

Clip

Gets the contents of the selected ranges. Sets the contents to the current selected range.

ClipSeparators

Gets or sets the characters used as row and column separators in clip strings.

ClipboardCopyMode

Gets or sets what parts of the grid are copied to the clipboard when the AutoClipboard property is set to true.

Col

Gets or sets the column that contains the cursor.

ColSel

Gets or sets the last column in the current selection.

Cols

Gets the collection of Column objects in the grid.

ColumnCaptionAsAlias

Gets or sets the bool value specifying whether the column caption will be used as an alias in expressions.

ColumnContextMenuEnabled

Gets or sets the bool value specifying whether column context menu should be opened when the user performs right mouse click on the column header.

ColumnPickerInfo

Gets the Column picker info of FlexGrid.

ComboBoxEditor

Gets a ComboBoxEditor object that provides easy access to properties of the currently active ComboBox editor.

ComboList

Gets or sets the list of items to be used by the drop-down editor.

CursorCell

Gets a CellRange object that contains the cell at coordinates Row, Col.

CustomComparer

Gets or sets a custom comparer object used by the grid to perform grouping, merging, and searching operations.

CustomSmallChange

Gets or sets custom small change value for horizontal and vertical scrolling.

DBCursorColor

Gets or sets color of DBCursor glyph.

DataMember

Gets or sets the specific list in a DataSource object that the grid should display.

DataSource

Gets or sets the data source for the grid.

DefaultSize

Gets the default size of the control.

DoubleBuffer

Gets or sets whether the control should use an off-screen buffer when painting to reduce flicker.

DragMode

Gets or sets a value that determines if the user can drag data from the control.

DrawMode

Gets or sets whether the control should fire the OwnerDrawCell event.

DropMode

Gets or sets a value that determines if the control can accept data that the user drags onto it.

EditMask

Gets or sets the input mask to use when editing cells.

EditOptions

Gets or sets an EditFlags flags that affect the grid's editing behavior.

Editor

Gets or sets a reference to the cell editor that is currently active.

EmptyAsNull

If True then empty strings from editor are interpreted as null values.

ExtendLastCol

Gets or sets whether the last column should be extended to fill the control.

FilterDefinition

Gets or sets an XML string containing the current filter state.

FocusRect

Gets or sets the type of focus rectangle to display.

Footers

Gets the footers. Footers are the rows below grid that contain summary information.

ForeColor

Gets or sets the foreground color for the control.

Glyphs

Gets the collection of control glyphs (images used to show sorting, check boxes, etc).

GroupDefinition

Gets or sets an XML string containing the current grouping state.

GroupDescriptions

Gets or sets a collection of GroupDescription objects that describe how items in the data source are grouped in the grid.

GroupHeaderFormat

Gets or sets the format string used to create group headers for each GroupDescription. The GroupHeaderFormat contains placeholders for the group name, current value, and item count. The placeholders are enclosed in curly brackets. For example, the default value for the GroupHeaderFormat property is:

"{name}: {value} ({count} items)"
HideGroupedColumns

Gets or sets a value that determines whether columns included in the GroupDescriptions collection should be hidden automatically.

HighLight

Gets or sets when to highlight selected cells.

HoverMode

Gets or sets the grid's mouse hover highlighting behavior.

IconsStyle

Gets or sets style of icons that are used in the C1FlexGrid.

IgnoreDiacritics

Gets or sets a value that determines whether the filter should ignore diacritics (accents) when comparing values.

this[int, int]

Gets or sets the data in a grid cell.

this[int, string]

Gets or sets the data in a grid cell.

KeyActionEnter

Gets or sets the action to be performed when the user presses the ENTER key.

KeyActionTab

Gets or sets the action to be performed when the user presses the TAB key.

Language

Gets or sets the language to use when localizing the column filters.

LeftCol

Gets or sets the first visible column in the scrollable area.

MarqueeStyle

Gets or sets a set of properties that control the appearance of Marquee border.

MouseCol

Gets the index of the column under the cursor.

MouseRow

Gets the index of the row under the cursor.

NewRowWatermark

Gets or sets a string that is displayed over the new row template when the AllowAddNew property is set to true.

Nodes

Gets an array containing all zero-level Node rows on the grid.

NullEmptyString

Gets or sets a value to be displayed in group headers and filter editors to represent null values or empty strings.

By default, this property is set to "(null);(empty)".

PreserveEditMode

Gets or sets flag that specify entering edit mode of cell after exiting from previous cell with arrow keys or tab key.

PrintParameters

Gets a GridPrinter object that specifies printing parameters for the grid.

Redraw

Gets or sets whether the grid should paint its contents.

Renderer

Gets or sets a C1FlexGridRenderer used to customize the look and feel of the control.

RightCol

Gets the last visible column in the scrollable area.

Row

Gets or sets the row that contains the cursor.

RowDetailProvider

Gets or sets the delegate method which creates the detail control for displaying.

RowDetailsVisibilityMode

Gets or sets a RowDetailsVisibilityMode value that specifies when the detail control is displayed.

RowSel

Gets or sets the last row in the current selection.

Rows

Gets the collection of Row objects in the grid.

ScrollOptions

Gets or sets a ScrollFlags value that specifies the grid scrolling behavior.

ScrollableRectangle

Gets a rectangle that defines the scrollable portion of the control.

SearchDefinition

Gets or sets an XML string containing the current search state.

Selection

Gets the current selected range in normalized form.

SelectionMode

Gets or sets the grid's selection behavior.

SelectionRanges

Gets the selected ranges in normalized form. MultiRange only.

ShowButtons

Gets or sets when to display combo buttons in cells.

ShowCellLabels

Gets or sets whether the grid should display labels over cells whose contents are partially hidden.

ShowCursor

Gets or sets whether the grid displays a record selector image on the first fixed column.

ShowErrors

Gets or sets whether the grid should display error information in cells and rows.

ShowFilterIcon

Gets or sets a value indicating whether the column filter icon is displayed.

ShowSort

Gets or sets whether the grid should display sorting glyphs (a triangle) on the headers of sorted columns.

ShowSortPosition

Gets or sets a value that determines the position of the sort glyphs within column header cells.

ShowThemedHeaders

Gets or sets whether the control should use Xp themes for displaying row or column headers.

SortColumn

Gets a reference to the column that defines the current sort applied to the grid.

SortDefinition

Gets or sets an XML string containing the current sorting state.

Styles

Gets the collection of cell styles defined in the grid.

SubtotalPosition

Gets or sets whether node rows appear above or below the data.

TopRow

Gets or sets the first visible row in the scrollable area.

Transposed

Gets or sets the grid transpose mode. If set to true it flips the table so that rows become columns, and columns become rows, creating an inverted grid, but not grid data.

Sometimes, it is convenient to show data horizontally, as in the case when the entries (rows) are fewer than properties (columns).

Tree

Gets a reference to the GridTree object that controls the appearance of the outline tree in the grid.

UseCompatibleTextRendering

Specifies whether text rendering should be compatible with previous releases of WinForms.

Methods

Name Description
AddItem(object[])

Adds a row to the grid and populates the new row with data.

AddItem(object[], int, int)

Adds a row to the grid at a specified position and populates the new row with data.

AddItem(string)

Adds a row to the grid and populates the new row with data.

AddItem(string, int)

Adds a row to the grid at a specified position and populates the new row with data.

Aggregate(AggregateEnum)

Calculates aggregate statistics for the selection.

Aggregate(AggregateEnum, AggregateFlags)

Calculates aggregate statistics for the selection.

Aggregate(AggregateEnum, CellRange)

Calculates aggregate statistics for a range.

Aggregate(AggregateEnum, CellRange, AggregateFlags)

Calculates aggregate statistics for a range.

Aggregate(AggregateEnum, int, int, int, int)

Calculates aggregate statistics for a range.

Aggregate(AggregateEnum, int, int, int, int, AggregateFlags)

Calculates aggregate statistics for a range.

ApplyFilters()

Applies all column filters to the data on the grid.

ApplySearch(string, SearchHighlightMode)

Applies search to the data on the grid.

ApplySearch(string, SearchHighlightMode, bool)

Applies search to the data on the grid.

ApplySearch(string, SearchHighlightMode, bool, bool)

Applies search to the data on the grid.

ApplySearch(string, SearchHighlightMode, bool, bool, bool)

Applies search to the data on the grid.

ApplySearch(string, SearchHighlightMode, bool, bool, bool, out int)

Applies search to the data on the grid.

ApplySearch(string, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with HighlightMode argument instead.

ApplySearch(string, bool, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with HighlightMode argument instead.

ApplySearch(string, bool, bool, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with SearchHighlightMode argument instead.

AutoSizeCol(int)

Adjusts the width of a column to fit the data.

AutoSizeCol(int, int)

Adjusts the width of a column to fit the data.

AutoSizeCols()

Adjusts the width of all columns to fit the data.

AutoSizeCols(Graphics, int, int, int, int, int, AutoSizeFlags)

Automatically size grid columns to fit the largest entry.

AutoSizeCols(int)

Adjusts the width of all columns fit the data.

AutoSizeCols(int, int, int)

Adjusts the width of columns in a range to fit the data.

AutoSizeCols(int, int, int, int, int, AutoSizeFlags)

Adjusts the width of a column range to fit the data in a cell range.

AutoSizeRow(int)

Adjusts the height of a row to fit the data.

AutoSizeRows()

Adjusts the height of all rows to fit the data.

AutoSizeRows(Graphics, int, int, int, int, int, AutoSizeFlags)

Automatically size grid columns to fit the largest entry.

AutoSizeRows(int, int, int, int, int, AutoSizeFlags)

Adjusts the height of a row range to fit the data in a cell range.

BeginInit()

Signals the object that initialization is starting.

BeginUpdate()

Maintains performance by preventing the control from updating itself until the EndUpdate() method is called.

BuildScrollableRectangle(int, int)

Builds a rectangle that defines the scrollable portion of the control for a given pair of scroll offsets.

CalculateCellHeight(Graphics, int, int, bool, bool, bool, out int)

Calculates the height of the specified grid cell.

CheckNodeChildren(int, int, int)

Gets a value that indicates what types of child nodes a row has.

Clear()

Clears the grid.

Clear(ClearFlags)

Clears the grid.

Clear(ClearFlags, CellRange)

Clears a range.

Clear(ClearFlags, int, int)

Clears a cell.

Clear(ClearFlags, int, int, int, int)

Clears a range.

ClearFilter()

Clears all column filters.

ClearFilter(Column)

Clears the filter associated with a given column.

ClearFilter(int)

Clears the filter associated with a given column.

Copy()

Copies the selection to the clipboard.

CreateImage()

Creates an image of the entire grid.

CreateImage(CellRange)

Creates an image of a portion of the grid.

CreateImage(CellRange, EmfType, DrawColorMode)

Creates an image of a portion of the grid.

CreateImage(int, int, int, int)

Creates an image of a portion of the grid.

CreateImage(int, int, int, int, EmfType)

Creates an image of a portion of the grid.

Cut()

Cuts the content of the current selection to the clipboard.

Dispose(bool)

Releases all resources used by the Control.

DrawCell(PaintEventArgs, int, int, DrawColorMode)

Draws a grid cell.

DrawCellImage(Graphics, int, int, Rectangle)

Draws a grid cell.

DrawCellImage(Graphics, int, int, Rectangle, DrawColorMode)

Draws a grid cell.

DrawRow(PaintEventArgs, int)

Draws a grid row.

DrawRow(PaintEventArgs, int, DrawColorMode)

Draws a grid row.

EditFilter(Column)

Edits the filter associated with a given column.

EditFilter(int)

Edits the filter associated with a given column.

EndInit()

Signals the object that initialization is complete.

EndUpdate()

Resumes updating the control after calls to the BeginUpdate() method.

FindRow(object, int, int, bool)

Finds a row that contains a specified value in a given column.

FindRow(string, int, int, bool, bool, bool)

Finds a row that contains a specified string.

FindRowRegex(string, int, int, bool)

Finds a row that contains a specified value in a given column using a RegularExpression.

FinishEditing()

Finishes editing the current cell and takes the grid out of edit mode.

FinishEditing(bool)

Finishes editing the current cell and takes the grid out of edit mode, optionally canceling the edits.

GetCellCheck(int, int)

Gets the state of the checkbox in a grid cell.

GetCellGlyphs(int, int, Rectangle, out Image, out Image, out Image)

Gets a cell glyph to show in a cell.

GetCellImage(int, int)

Gets the image displayed in a grid cell.

GetCellImage(int, string)

Gets the image displayed in a grid cell.

GetCellRange(int, int)

Gets a CellRange object that can be used to format and manipulate a cell.

GetCellRange(int, int, int, int)

Gets a CellRange object that can be used to format and manipulate a range.

GetCellRect(int, int)

Gets a Rectangle object with the coordinates of the cell within the control.

GetCellRect(int, int, bool)

Gets a Rectangle object with the coordinates of the cell within the control.

GetCellRectDisplay(int, int)

Gets a rectangle representing the coordinates of a cell, row, or column.

GetCellRectDisplay(int, int, bool, bool)

Gets a rectangle representing the coordinates of a cell, row, or column.

GetCellRectEditor(int, int)

Gets a rectangle representing the coordinates of a cell editor.

GetCellStyle(int, int)

Gets a custom CellStyle associated with a cell.

GetCellStyle(int, string)

Gets a custom CellStyle associated with a cell.

GetCellStyleDisplay(int, int)

Gets the style used to render a cell.

GetData(int, int)

Gets the value of a grid cell.

GetData(int, int, bool)

Gets the value of a grid cell, taking into account the value returned by the GetCellCheck(int, int) method.

GetData(int, string)

Gets the value of a grid cell.

GetDataDisplay(int, int)

Gets the value in a grid cell, formatted as a string.

GetDataDisplay(int, int, out Image, out CheckEnum)

Gets the value in a grid cell, formatted as a string, and the image or checkbox in the cell.

GetDataDisplay(int, string)

Gets the value in a grid cell, formatted as a string.

GetDataDisplay(int, string, out Image, out CheckEnum)

Gets the value in a grid cell, formatted as a string, and the image or checkbox in the cell.

GetHeaderThemeState(int, int)

Gets the state for a Windows Xp theme while the mouse moves over a cell.

GetRenderer()

Gets the current C1FlexGridRenderer.

GetUserData(int, int)

Gets user data associated with a cell.

GetUserData(int, string)

Gets user data associated with a cell.

HitTest()

Returns information about the control at the current mouse position.

HitTest(Point)

Returns information about the control at a specified point on the control surface.

HitTest(int, int)

Returns information about the control at a specified point on the control surface.

Invalidate()

Invalidates the control.

Invalidate(CellRange)

Invalidates a cell range, causing it to be repainted.

Invalidate(int, int)

Invalidates a cell, causing it to be repainted.

Invalidate(int, int, int, int)

Invalidates a cell range, causing it to be repainted.

IsCellCheckBox(int, int)

Gets a value that determines whether the cell contents are displayed as a checkbox.

IsCellCursor(int, int)

Gets a value that determines if a cell contains the grid cursor.

IsCellFixed(int, int)

Gets a value that determines if a cell belongs to a fixed row or column.

IsCellHighlighted(int, int)

Gets a value that determines if a cell is part of the selection and should be highlighted.

IsCellHovered(int, int)

Gets a value that determines if a cell is hovered.

IsCellSelected(int, int)

Gets a value that determines if a cell is selected.

IsCellSelectedColumnHeader(int, int)

Gets a value that determines if a cell is a column header with selection in this column.

IsCellSelectedRowHeader(int, int)

Gets a value that determines if a cell is a row header with selection in this row.

IsCellValid(int, int)

Gets a value that determines if a pair of cell coordinates are valid.

IsInputChar(char)

Determines if a character is an input character that the control recognizes.

IsInputKey(Keys)

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

MarqueeStyle_PropertyChanged(object, PropertyChangedEventArgs)

Fires when MarqueeStyle was changed.

MeasureCellSize(Graphics, int, int)

Measures the specified cell when drawn.

MeasureCellSize(int, int)

Measures the specified cell when drawn.

MoveSelection(MoveCursorEnum, bool)

Moves or extends the current selection.

MoveSelection(MoveCursorEnum, bool, int, int)

Moves or extends the selection from a given cell.

OnAfterAddRow(RowColEventArgs)

Raises the AfterAddRow event.

OnAfterCollapse(RowColEventArgs)

Raises the AfterCollapse event.

OnAfterDeleteRow(RowColEventArgs)

Raises the AfterDeleteRow event.

OnAfterDragColumn(DragRowColEventArgs)

Raises the AfterDragColumn event.

OnAfterDragRow(DragRowColEventArgs)

Raises the AfterDragRow event.

OnAfterEdit(RowColEventArgs)

Raises the AfterEdit event.

OnAfterFilter(EventArgs)

Raises the AfterFilter event.

OnAfterFreezeColumn(RowColEventArgs)

Raises the AfterFreezeColumn event.

OnAfterFreezeRow(RowColEventArgs)

Raises the AfterFreezeRow event.

OnAfterGroupUpdate(EventArgs)

Raises the AfterGroupUpdate event.

OnAfterResizeColumn(RowColEventArgs)

Raises the AfterResizeColumn event.

OnAfterResizeRow(RowColEventArgs)

Raises the AfterResizeRow event.

OnAfterRowColChange(RangeEventArgs)

Raises the AfterRowColChange event.

OnAfterScroll(RangeEventArgs)

Raises the AfterScroll event.

OnAfterSelChange(RangeEventArgs)

Raises the AfterSelChange event.

OnAfterSort(SortColEventArgs)

Raises the AfterSort event.

OnAfterSubtotal(SubtotalEventArgs)

Raises the AfterSubtotal event.

OnBackColorChanged(EventArgs)

Raises the BackColorChanged event.

OnBeforeAddRow(RowColEventArgs)

Raises the BeforeAddRow event.

OnBeforeAutosizeColumn(RowColEventArgs)

Raises the BeforeAutosizeColumn event.

OnBeforeAutosizeRow(RowColEventArgs)

Raises the BeforeAutosizeRow event.

OnBeforeCollapse(RowColEventArgs)

Raises the BeforeCollapse event.

OnBeforeDeleteRow(RowColEventArgs)

Raises the BeforeDeleteRow event.

OnBeforeDoubleClick(BeforeMouseDownEventArgs)

Raises the BeforeDoubleClick event.

OnBeforeDragColumn(DragRowColEventArgs)

Raises the BeforeDragColumn event.

OnBeforeDragRow(DragRowColEventArgs)

Raises the BeforeDragRow event.

OnBeforeEdit(RowColEventArgs)

Raises the BeforeEdit event.

OnBeforeFilter(CancelEventArgs)

Raises the BeforeFilter event.

OnBeforeFreezeColumn(RowColEventArgs)

Raises the BeforeFreezeColumn event.

OnBeforeFreezeRow(RowColEventArgs)

Raises the BeforeFreezeRow event.

OnBeforeGroupUpdate(CancelEventArgs)

Raises the BeforeGroupUpdate event.

OnBeforeMouseDown(BeforeMouseDownEventArgs)

Raises the BeforeMouseDown event.

OnBeforePageBreak(RowColEventArgs)

Raises the BeforePageBreak event.

OnBeforeResizeColumn(RowColEventArgs)

Raises the BeforeResizeColumn event.

OnBeforeResizeRow(RowColEventArgs)

Raises the BeforeAutosizeRow event.

OnBeforeRowColChange(RangeEventArgs)

Raises the BeforeRowColChange event.

OnBeforeScroll(RangeEventArgs)

Raises the BeforeScroll event.

OnBeforeSelChange(RangeEventArgs)

Raises the BeforeSelChange event.

OnBeforeSort(SortColEventArgs)

Raises the BeforeSort event.

OnBeforeSubtotal(SubtotalEventArgs)

Raises the BeforeSubtotal event.

OnBeginPrint(PrintEventArgs)

Raises the BeginPrint event.

OnBindingContextChanged(EventArgs)

Raises the BindingContextChanged event.

OnCancelAddRow(RowColEventArgs)

Raises the CancelAddRow event.

OnCellButtonClick(RowColEventArgs)

Raises the CellButtonClick event.

OnCellChanged(RowColEventArgs)

Raises the CellChanged event.

OnCellChecked(RowColEventArgs)

Raises the CellChecked event.

OnChangeEdit(EventArgs)

Raises the ChangeEdit event.

OnChangeScrollBarPosition(int, bool, int, int)

Calculates the new position of a scrollbar in response to a user command.

OnClientSizeChanged(EventArgs)

Overridden to update star sizes when the control is resized.

OnColumnContextMenuOpened(ColumnContextMenuOpenedEventArgs)

Raises the ColumnContextMenuOpened event.

OnColumnContextMenuOpening(ColumnContextMenuOpeningEventArgs)

Raises the ColumnContextMenuOpening event.

OnColumnPickerShowing(ColumnPickerShowingArgs)

Raises the ColumnPickerShowing event.

OnColumnPickerShown(ColumnPickerShownArgs)

Raises the ColumnPickerShown event.

OnComboCloseUp(RowColEventArgs)

Raises the ComboCloseUp event.

OnComboDropDown(RowColEventArgs)

Raises the ComboDropDown event.

OnCustomizeFilterEditor(CustomizeFilterEditorEventArgs)

Raises the CustomizeFilterEditor event.

OnDataBindingComplete(EventArgs)

Raises the DataBindingComplete event.

OnDataMemberChanged(EventArgs)

Raises the DataMemberChanged event.

OnDataRefresh(ListChangedEventArgs)

Raises the AfterDataRefresh event.

OnDataSourceChanged(EventArgs)

Raises the DataSourceChanged event.

OnDoubleClick(EventArgs)

Raises the DoubleClick event.

OnDpiChangedAfterParent(EventArgs)
OnDragDrop(DragEventArgs)

Raises the DragDrop event.

OnDragEnter(DragEventArgs)

Raises the DragEnter event.

OnDragOver(DragEventArgs)

Raises the DragOver event.

OnDraggingColumn(DragRowColEventArgs)

Raises the DraggingColumn event.

OnDraggingRow(DragRowColEventArgs)

Raises the DraggingRow event.

OnEndPrint(PrintEventArgs)

Raises the EndPrint event.

OnEnterCell(EventArgs)

Raises the EnterCell event.

OnFontChanged(EventArgs)

Raises the FontChanged event.

OnForeColorChanged(EventArgs)

Raises the ForeColorChanged event.

OnGetCellErrorInfo(GetErrorInfoEventArgs)

Raises the GetCellErrorInfo event.

OnGetEditorErrorInfo(GetErrorInfoEventArgs)

Raises the GetEditorErrorInfo event.

OnGetLocalizedString(GetLocalizedStringEventArgs)

Raises the GetLocalizedString event.

OnGetRowErrorInfo(GetErrorInfoEventArgs)

Raises the GetRowErrorInfo event.

OnGetUnboundValue(UnboundValueEventArgs)

Raises the GetUnboundValue event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnGridChanged(object, GridChangedEventArgs)

Raises the GridChanged event.

OnGridError(GridErrorEventArgs)

Raises the GridError event.

OnHandleCreated(EventArgs)

Raises the HandleCreated event.

OnHandleDestroyed(EventArgs)

Raises the HandleDestroyed event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnKeyDownEdit(KeyEditEventArgs)

Raises the KeyDownEdit event.

OnKeyPress(KeyPressEventArgs)

Raises the KeyPress event.

OnKeyPressEdit(KeyPressEditEventArgs)

Raises the KeyPressEdit event.

OnKeyUpEdit(KeyEditEventArgs)

Raises the KeyUpEdit event.

OnLeave(EventArgs)

Raises the Leave event.

OnLeaveCell(EventArgs)

Raises the LeaveCell event.

OnLeaveEdit(RowColEventArgs)

Raises the LeaveEdit event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseEnter(EventArgs)

Raises the MouseEnter event.

OnMouseEnterCell(RowColEventArgs)

Raises the MouseEnterCell event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnMouseLeaveCell(RowColEventArgs)

Raises the MouseLeaveCell event.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnOwnerDrawCell(OwnerDrawCellEventArgs)

Raises the OwnerDrawCell event.

OnOwnerDrawOutlineButton(OwnerDrawOutlineButtonEventArgs)

Raises the OwnerDrawOutlineButton event.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnPaintBackground(PaintEventArgs)

Paints the control background.

OnParentChanged(EventArgs)
OnPrintPage(PrintPageEventArgs)

Raises the PrintPage event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

OnRowColChange(EventArgs)

Raises the RowColChange event.

OnRowDetailsApplying(RowDetailsApplyingEventArgs)

Raises the RowDetailsApplying event.

OnRowValidated(RowColEventArgs)

Raises the RowValidated event.

OnRowValidating(RowColEventArgs)

Raises the RowValidating event.

OnScroll(ScrollBars)

Called when the grid contents scroll.

OnScrollTip(int)

Called when the grid contents scroll vertically, to update the value of the scroll tip.

OnSearchApplied(SearchAppliedEventArgs)

Raises the SearchApplied event.

OnSearchApplying(SearchApplyingEventArgs)

Raises the SearchApplying event.

OnSelChange(EventArgs)

Raises the SelChange event.

OnSetUnboundValue(UnboundValueEventArgs)

Raises the SetUnboundValue event.

OnSetupEditor(RowColEventArgs)

Raises the SetupEditor event.

OnShowScrollTip(ToolTipEventArgs)

Raises the ShowScrollTip event.

OnSizeChanged(EventArgs)

Raises the SizeChanged event.

OnStartDrag(DragEventArgs)

Raises the StartDrag event.

OnStartEdit(RowColEventArgs)

Raises the StartEdit event.

OnThemeChanged()

Called when the control receives a WM_THEMECHANGED message.

OnValidateEdit(ValidateEditEventArgs)

Raises the ValidateEdit event.

OnValidated(EventArgs)

Raises the RowValidated event.

OnValidating(CancelEventArgs)

Raises the Validating event.

OnVisibleChanged(EventArgs)

Raises the VisibleChanged event.

Paste()

Pastes the content of the clipboard onto the current selection.

PrintGrid(string)

Prints the grid, optionally showing a page setup or print preview dialog.

PrintGrid(string, PrintGridFlags)

Prints the grid, optionally showing a page setup or print preview dialog.

PrintGrid(string, PrintGridFlags, string, string)

Prints the grid, optionally showing a page setup or print preview dialog.

RaiseGridError(GridErrorEventArgs)

Manually raises the GridError event.

ReadXml(Stream, XmlOptions)

Loads the grid from an Xml document.

ReadXml(TextReader, XmlOptions)

Loads the grid from an Xml document.

ReadXml(string, XmlOptions)

Loads the grid from an Xml document.

ReadXml(XmlDocument)

Loads the grid from an Xml document.

ReadXml(XmlDocument, XmlOptions)

Loads the grid from an Xml document.

ReadXml(XmlNode)

Loads the grid from an Xml document.

ReadXml(XmlNode, XmlOptions)

Loads the grid from an Xml document.

ReadXml(XmlReader, XmlOptions)

Loads the grid from an Xml document.

RemoveItem()

Removes the last row from the grid.

RemoveItem(int)

Removes a row at a specified position from the grid.

RemoveOutdatedGroups()

Removes old groups from sorting.

ResetMarqueeStyle()

Restores the default value of the MarqueeStyle property.

Select(CellRange)

Selects a range of cells and scrolls it into view.

Select(CellRange, bool)

Selects a range of cells.

Select(IList<CellRange>)

Selects a ranges of cells and scrolls last selection range into view in MultiRange mode.

Select(IList<CellRange>, bool)

Selects a ranges of cells in MultiRange mode.

Select(int, int)

Selects a cell and scrolls it into view.

Select(int, int, bool)

Selects a cell.

Select(int, int, int, int)

Selects a range of cells and scrolls it into view.

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

Selects a range of cells.

SetCellCheck(int, int, CheckEnum)

Sets the state of the checkbox in a grid cell.

SetCellCheckEdit(int, int, CheckEnum)

Applies a CheckEnum value to a cell or cell range.

SetCellImage(int, int, Image)

Sets the image displayed in a grid cell.

SetCellImage(int, string, Image)

Sets the image displayed in a grid cell.

SetCellStyle(int, int, CellStyle)

Assigns a custom CellStyle to a cell.

SetCellStyle(int, int, string)

Assigns a custom CellStyle to a cell.

SetCellStyle(int, string, CellStyle)

Assigns a custom CellStyle to a cell.

SetData(CellRange, object)

Assigns a value to a range of cells, coercing the value into each cell's specified DataType.

SetData(CellRange, object, bool)

Assigns a value to a range of cells.

SetData(int, int, object)

Assigns a value to a grid cell, coercing the value into the cell's specified DataType.

SetData(int, int, object, bool)

Assigns a value to a grid cell.

SetData(int, string, object)

Assigns a value to a grid cell, coercing the value into the cell's specified data type.

SetData(int, string, object, bool)

Assigns a value to a grid cell.

SetDataBinding(object, string)

Sets the DataSource and DataMember properties.

SetDataBinding(object, string, bool)

Sets the DataSource and DataMember properties, optionally keeping the current column layout.

SetDataEdit(int, int, object, bool)

Assigns a value to a grid cell, optionally coercing the value into the cell's specified data type.

SetUserData(int, int, object)

Assigns user data to a cell.

SetUserData(int, string, object)

Assigns user data to a cell.

ShouldSerializeMarqueeStyle()

Specifies whether to save the value of the MarqueeStyle property.

ShowCell(int, int)

Scrolls a cell into view.

ShowColumnPicker()

Shows Column pickers window.

ShowSortAt(SortFlags, int)

Shows the sorting glyph on a column header.

Sort(SortFlags, CellRange)

Sorts a range of cells in the grid.

Sort(SortFlags, int)

Sorts the grid contents based on a column.

Sort(SortFlags, int, int)

Sorts the grid contents based on a column range.

Sort(IComparer)

Sorts the grid using the specified comparer.

Sort(int, int, IComparer)

Sorts a group of rows using the specified comparer.

StartEditing()

Puts the grid in edit mode and starts editing the current cell.

StartEditing(int, int)

Puts the grid in edit mode and starts editing a cell.

StartEditing(int, int, char)

Puts the grid in edit mode and starts editing a cell.

StartEditing(int, int, char, bool)

Starts editing a cell in response to a key press.

StartEditing(int, int, char, Point)

Puts the grid in edit mode and starts editing a cell.

StartEditing(int, int, Point, bool)

Starts editing a cell in response to a mouse action.

Subtotal(AggregateEnum)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, int, int)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, int, int, int, string)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, int, int, int, string, AggregateFlags)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, int, int, string)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, string, string)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, string, string, string)

Groups rows based on cell contents and calculates aggregate values.

Subtotal(AggregateEnum, int, string, string, string, string)

Groups rows based on cell contents and calculates aggregate values.

WndProc(ref Message)

Processes Windows messages.

WriteXml(Stream, XmlOptions)

Saves the grid contents to an Xml document.

WriteXml(TextWriter, XmlOptions)

Saves the grid contents to an Xml document.

WriteXml(string, XmlOptions)

Saves the grid contents to an Xml document.

WriteXml(XmlTextWriter)

Saves the grid contents to an Xml document.

WriteXml(XmlTextWriter, XmlOptions)

Saves the grid contents to an Xml document.

Events

Name Description
AfterAddRow

Fires after a new row is added by the user.

AfterCollapse

Fires after a node row is collapsed or expanded.

AfterDataRefresh

Fires after any data source change notifications.

AfterDeleteRow

Fires after one or more rows are deleted by the user.

AfterDragColumn

Fires after the user finishes dragging a column.

AfterDragRow

Fires after the user finishes dragging a row.

AfterEdit

Fires after a cell has been edited.

AfterFilter

Fires after the column filters have been applied to the grid.

AfterFreezeColumn

Fires after columns are frozen by dragging the frozen column divider.

AfterFreezeRow

Fires after rows are frozen by dragging the frozen row divider.

AfterGroupUpdate

Occurs after the grid is grouped based on the value of the GroupDescriptions property.

AfterResizeColumn

Fires after a column is resized by dragging the column header.

AfterResizeRow

Fires after a row is resized by dragging the row header.

AfterRowColChange

Fires after the current cell changes (Row and Col properties).

AfterScroll

Fires after the grid scrolls.

AfterSelChange

Fires after the selection changes (Row, Col, RowSel, ColSel properties).

AfterSort

Fires after a column is sorted by a click on a column header.

AfterSubtotal

Fires after each subtotal row has been added to the grid.

BeforeAddRow

Fires before a new row is added by the user.

BeforeAutosizeColumn

Fires before a column is automatically resized by a double-click on a column header.

BeforeAutosizeRow

Fires before a row is automatically resized by a double-click on a row header.

BeforeCollapse

Fires before a node row is collapsed or expanded.

BeforeDeleteRow

Fires before a row is deleted by the user.

BeforeDoubleClick

Fires before the DoubleClick event is handled by the grid.

BeforeDragColumn

Fires when the user starts dragging a column.

BeforeDragRow

Fires when the user starts dragging a row.

BeforeEdit

Fires before the grid enters edit mode, and also when the cell that has the focus needs to be painted.

BeforeFilter

Fires before the column filters are applied to the grid.

BeforeFreezeColumn

Fires before columns are frozen by dragging the frozen column divider.

BeforeFreezeRow

Fires before rows are frozen by dragging the frozen row divider.

BeforeGroupUpdate

Occurs before the grid is grouped based on the value of the GroupDescriptions property.

BeforeMouseDown

Fires before the MouseDown event is handled by the grid.

BeforePageBreak

Fires while the control is being printed to provide control over page breaks.

BeforeResizeColumn

Fires before a column is resized by dragging the column header.

BeforeResizeRow

Fires before a row is resized by dragging the row header.

BeforeRowColChange

Fires before the current cell changes (Row and Col properties).

BeforeScroll

Fires before the grid scrolls.

BeforeSelChange

Fires before the selection changes (Row, Col, RowSel, ColSel properties).

BeforeSort

Fires before a column is sorted by a click on a column header.

BeforeSubtotal

Fires before each subtotal row is added to the grid.

BeginPrint

Fires before the grid starts printing.

CancelAddRow

Fires when the cursor leaves the new row without making any changes to it.

CellButtonClick

Fires after the user clicks a cell button.

CellChanged

Fires after the contents of a cell have changed.

CellChecked

Fires after a checkbox in a cell is checked or unchecked by the user.

ChangeEdit

Fires in edit mode, after the contents of the editor change.

ColumnContextMenuOpened

Fires after the column context menu opens.

ColumnContextMenuOpening

Fires before the column context menu opens.

ColumnPickerShowing

Fires before the column picker window opens.

ColumnPickerShown

Fires after the column picker window opens.

ComboCloseUp

Fires in edit mode, when the dropdown portion of an editor closes.

ComboDropDown

Fires in edit mode, when the dropdown portion of an editor opens.

CustomizeFilterEditor

Fires before creating value editor of condition filter.

DataBindingComplete

Fires after a data-binding operation has finished.

DataMemberChanged

Fires when the value of the DataMember property changes.

DataSourceChanged

Fires when the value of the DataSource property changes.

DraggingColumn

Fires as the user drags a column to a new position.

DraggingRow

Fires as the user drags a row to a new position.

EditorFormatApplying

Fires in edit mode, when the editor applies format. Can cancel formatting using CancelEventArgs.

EndPrint

Fires after the grid finishes printing.

EnterCell

Fires after the current cell changes (Row and Col properties).

GetCellErrorInfo

Fires when ShowErrors is set to true and the control needs error information for a cell.

GetEditorErrorInfo

Fires when ShowErrors is set to true and the editor validation failed.

GetLocalizedString

This event is deprecated, use *.resx files to localize FlexGrid. Instead, use a localized strings file with the special name C1.Win.C1FlexGrid.RuntimeStrings.culture.resx as an embedded resource.

GetRowErrorInfo

Fires when ShowErrors is set to true and the control needs error information for a row.

GetUnboundValue

Fires when the grid needs to retrieve data for an unbound cell.

GridChanged

Fires when the grid or its contents change.

GridError

Fires after the data source reports an error condition.

KeyDownEdit

Fires in edit mode, when the user presses a key.

KeyPressEdit

Fires in edit mode, when the user presses a character key.

KeyUpEdit

Fires in edit mode, when the user releases a key.

LeaveCell

Fires before the current cell changes (Row and Col properties).

LeaveEdit

Fires after the control leaves edit mode.

MouseEnterCell

Fires when the mouse enters a cell.

MouseLeaveCell

Fires when the mouse leaves a cell.

OwnerDrawCell

Fires before the grid draws a cell, when the DrawMode property is set to OwnerDraw.

OwnerDrawOutlineButton

Fires before the grid draws a tree outline button, when the DrawMode property is set to OwnerDraw.

PrintPage

Fires after the grid finishes printing a page.

PropertyChanged
RowColChange

Fires after the current cell changes (Row and Col properties).

RowDetailsApplying

Fires for each data object in the C1FlexGrid’s data source during of assigning the RowDetailProvider property.

RowValidated

Fires after a row lost focus and has been validated.

RowValidating

Fires when a row is losing focus and needs to be validated.

SearchApplied

Fires after the search operation. The event fires when using the ApplySearch(string, bool, bool, bool, bool) method.

SearchApplying

Fires before the search operation. The event fires when using the ApplySearch(string, bool, bool, bool, bool) method.

SelChange

Fires after the selection changes (Row, Col, RowSel, ColSel properties).

SetUnboundValue

Fires when the grid needs to store data in an unbound cell.

SetupEditor

Fires after a cell editor has been initialized by the grid, to allow additional custom initialization.

ShowScrollTip

Fires before the vertical ScrollTip is displayed.

StartDrag

Fires before the grid starts an automatic OLE drag operation.

StartEdit

Fires before the control enters edit mode.

ValidateEdit

Fires before the control exits cell edit mode, while the editor is still active.