ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown Methods

The methods of the C1TrueDBDropdown class are listed here. For a complete list of C1TrueDBDropdown class members, see the C1TrueDBDropdown Members topic.

Public Methods

AddCellStyle

Controls the Style used to change the appearance for cells meeting the specified condition.

AddRegexCellStyle

Controls the Style used to change the appearance of cells according to their contents.

AddRow

Overloaded. Adds a row to an unbound grid.

AddRows

Adds the number of given rows to an unbound grid.

BeginInit

ISupportInitialize interface.

ClearCellStyle

Restores the default layout.

ClearFields

Restores the default layout.

ClearRegexCellStyle

Removes a cell condition established with a previous call to the AddRegexCellStyle method.

ColContaining

Returns the column index for the column containing the specified X coordinate.

Delete

Overloaded. Deletes the given row from an unbound grid.

EndInit

ISupportInitialize interface.

GetCurrentSelIndex

Gets the current selected index.

Rebind

Overloaded. Reinitializes grid with data from its data source.

RowContaining

Returns the zero-based index of the display row containing the Y specified coordinate.

ScrollCtl

Scrolls the data area by the specified number of rows and columns.

SetDataBinding

Overloaded. Configures the grid for use without a datasource.

Protected Methods

Dispose

Overloaded. Overridden. Called when the class is being disposed.

IsInputChar

Inherited from Control.

IsInputKey

Inherited from Control.

On_AddNew

Raised when a new row is added.

On_Init

Raised when the grid is initialized.

On_Scroll

Overridden. Occurs when the user scrolls the grid.

OnAfterColEdit

Raised after a column has been edited.

OnAfterColUpdate

Raised after the datasource has been updated for a column.

OnAfterDelete

Raised after a row has been deleted.

OnAfterFilter

Raised after the datasource has been filtered.

OnAfterInsert

Raised after a row has been inserted.

OnAfterSort

Raised after the datasource has been sorted.

OnAfterUpdate

Raised after a row has been updated.

OnBackColorChanged

Inherited from Control.

OnBeforeClose

Rasied before a child grid is closed.

OnBeforeColEdit

Raised before a column edit.

OnBeforeColUpdate

Raised before a column has been updated.

OnBeforeDelete

Raised before a row is deleted.

OnBeforeInsert

Raised before a row is inserted.

OnBeforeOpen

Raised before a child grid is displayed.

OnBeforeRowColChange

Raised before a row or column currency is changed.

OnBeforeUpdate

Raised before a row is updated.

OnBindingContextChanged

Raised when the Binding Context changes.

OnButtonClick

Raised when a button in a cell has been clicked.

OnChange

Raised when the grids cell content has been modified.

OnClick

Inherited from Control.

OnColEdit

Raised when a column has been edited.

OnCollapse

Raised when a band is collasped in a hierarchical grid.

OnColMove

Overridden. Occurs when the user has moved a column.

OnColResize

Overridden. Occurs when the user has resized a column.

OnComboSelect

Raised when a value in the combobox has been selected.

OnCursorChanged

Inherited from Control.

OnDataSourceChanged

Overridden. Occurs when the grids DataSource has changed.

OnDoubleClick

Inherited from Control.

OnDropDownClose

Occurs when the drop-down closes.

OnDropDownOpen

Occurs when the drop-down closes.

OnEnter

Inherited from Control.

OnError

Raised when the grid encounters an error through the UI.

OnExpand

Raised when a band is expanded in a hierarchical grid.

OnFetchCellStyle

Raised when a custom style is to be used for rendering a cell.

OnFetchCellTips

Raised when a cell tip is to be displayed.

OnFetchGroupCellStyle

Raised when a custom style is to be used for renderind a grouped cell.

OnFetchRowStyle

Overridden. Occurs whenever the grid is about to display a row of data and the FetchRowStyles property is True.

OnFetchScrollTips

Overridden. Occurs whenever the grid has focus and the scrollbar thumb is moved using the mouse.

OnFilter

Raised when AllowFilter is false.

OnFilterButtonClick

Raised when a button in the filter bar is clicked.

OnFilterChange

Raised when a filter condition has changed.

OnFirstRowChange

Overridden. Occurs when the first displayed row of a control or split is changed.

OnFontChanged

Inherited from Control.

OnFootClick

Overridden. Occurs when the user clicks on the column footer.

OnFormatText

Overridden. Occurs when the grid is about to display cell data in a column whose NumberFormat property is set to the string FormatText Event.

OnGotFocus

Inherited from Control.

OnGroupAggregate

Raised when custom aggregates are used for a grouped grid.

OnGroupColMove

Raised when a grouped column is moved.

OnGroupHeadClick

Raised when a column header in the grouping area is clicked.

OnGroupInterval

Raised when custom group intervals are used for a grouped grid.

OnGroupText

Raised when custom values are to be used for the group text.

OnHeadClick

Overridden. Occurs when the user clicks on the column header.

OnKeyDown

Inherited from Control.

OnKeyPress

Inherited from Control.

OnKeyUp

Inherited from Control.

OnLeave

Inherited from Control.

OnLeftColChange

Overridden. Occurs when the first visible column of a grid or split is changed.

OnLostFocus

Inherited from Control.

OnMouseLeave

Inherited from Control.

OnMouseUp

Inherited from Control.

OnMouseWheel

Inherited from Control.

OnOwnerDrawCell

Raised when a cell has to be rendered.

OnOwnerDrawCellPrint

Raised when a cell has to be printed.

OnOwnerDrawPageFooter

Raised when a Page footer needs to be printed.

OnOwnerDrawPageHeader

Raised when Page header needs to be printed.

OnQueryContinueDrag

Inherited from Control.

OnResize

Inherited from Control.

OnRightToLeftChanged

Inherited from Control.

OnRowChange

Occurs when the row focus changes.

OnRowColChange

Raised after a row or column currency has been changed.

OnRowResize

Overridden. Occurs when the user has finished resizing a grid row.

OnSelChange

Overridden. Occurs when the user selects a different range of rows or columns.

OnSizeChanged

Inherited from Control.

OnSort

Raised when the datasource is sorted by clicking the column header.

OnSplitChange

Raised when split currency has changed.

OnSplitRemoved (inherited from Frame)

Raised when a split has been removed.

OnUnboundColumnFetch

Overridden. Occurs when the grid needs to display the value of a cell in an unbound column.

OnUnboundColumnUpdated

Raised when an unbound column has been updated.

OnValidating

Inherited from Control.

OnValueItemError

Overridden. Occurs when the user attempts to enter invalid data into a column that is using value lists.

OnVisibleChanged

Inherited from Control.

SetDataSource

Called when the datasource changes.

See Also

C1TrueDBDropdown Class | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.