ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown Members

C1TrueDBDropdown overview

Public Constructors

C1TrueDBDropdown Constructor

Creates a new instance of the object.

Public Properties

AllowColMove

Exposed object model.

AllowColSelect

Gets or sets a value indicating the ability to select columns.

AllowFilter

Gets or sets a value indicating the ability of the grid to automatically filter data.

AllowRowSizing

Gets or sets how interactive row resizing is performed.

AllowSort

Gets or sets a value indicating the ability of the grid to automatically sort data when a column header is clicked.

AlternatingRows

Gets or sets a value indicating whether the drop-down uses the OddRowStyle for odd-numbered rows and EvenRowStyle for even-numbered rows.

Bookmark

Gets or sets the current row position of the underlying CurrencyManager.

BorderStyle

Gets or sets the border for the control.

Caption

Gets or sets the grid's caption.

CaptionHeight

Gets or sets the height of the grid's caption.

CaptionStyle

Gets or sets the Style object that controls the appearance of the caption area.

Col

Gets or sets the column position.

ColumnCaptionHeight

Gets or sets the height of column captions.

ColumnFooterHeight

Gets or sets the height of column footers.

ColumnFooters

Gets or sets a value indicating the visibility of column footers.

ColumnHeaders

Gets or sets a value indicating the visibility of column headers.

Columns

Gets the collection of C1DataColumn objects.

CurrentCellVisible

Gets or sets a value indicating the visibility of the current cell.

DataMember

Gets or sets the specific data member in a multimember data source that the grid binds to.

DataSource

Gets or sets the source containing a list of values used to populate the items within the control.

DefColWidth

Gets or sets the default width for all grid columns.

DisplayColumns

Gets the collection of C1DisplayColumn objects.

DisplayMember

Gets or sets the property used used for incremental search.

DoubleBuffer

Gets or sets a value indicating whether the control should use an off-screen buffer when painting to redue flicker.

DropdownWidth

Gets or sets the width of the drop-down.

EmptyRows

Gets or sets a value that determines how the grid displays rows below the last data row.

EvenRowStyle

Gets or sets the Style object that controls the appearance of an even-numbered row when using AlternatingRows.

ExtendRightColumn

Gets or sets a value that determines how the last column will extend to fill the dead area of the drop-down.

FetchRowStyles

Gets or sets a value indicating whether the FetchRowStyle event will be raised.

FirstRow

Gets or sets the row index for the first visible row.

FlatStyle

Gets or sets the general appearance of 3D elements for the entire grid.

FooterStyle

Gets or sets the Style object that controls the appearance of column footers.

HeadingStyle

Gets or sets the Style object that controls the appearance of the grids column headers.

HighLightRowStyle

Gets or sets the Style object that controls the appearance of a highlighted row.

HScrollBar

Gets the HBar object that controls the appearance of the horizontal scrollbar.

IntegralHeight

Gets or sets a value indicating whether the control should resize to avoid showing partial items.

LeftCol

Gets or sets the zero-based index of the leftmost column.

OddRowStyle

Gets or sets the Style object that controls the appearance of an odd-numbered row when using AlternatingRows.

Row

Gets or sets the the current row.

RowCount

Gets the number of rows in an unbound grid.

RowDivider

Gets or sets the style of the border drawn between rows.

RowHeight

Gets or sets the height of grid rows.

RowSubDividerColor

Gets or sets the color of the subrow divider in a multi-line drop-down.

RowTracking

Gets or sets a value that determines if rows are highlighted under the mouse.

ScrollTips

Gets or sets a value that determines whether the grid displays a pop-up text window when the scrollbar thumb is dragged.

ScrollTrack

Gets or sets a value that controls how the grid scrolls when the scroll thumb is moved.

SplitDividerSize

Controls the height and width of Split Borders.

Style

Gets or sets the root Style object.

Styles

Gets the collection of named Style objects.

UseColumnStyles

Gets or sets a value indicating whether Style information is applied from the datasource.

ValueMember

Gets or sets the property used to update the associated grid column.

ValueTranslate

Gets or sets a value that determines how the grid display values in a column.

VisibleCols

Gets the number of visible columns in the drop-down.

VisibleRows

Gets the number of visible rows in the drop-down.

VScrollBar

Gets the VBar object that controls the appearance of the vertical scrollbar.

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.

Public Events

ColMove

Occurs when the user has moved a column.

ColResize

Occurs when the user has resized a column.

DataSourceChanged

Occurs when the grids DataSource has changed.

DropDownClose

Occurs when the drop-down closes.

DropDownOpen

Occurs when the drop-down closes.

FetchRowStyle

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

FetchScrollTips

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

FirstRowChange

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

FootClick

Occurs when the user clicks on the column footer.

FormatText

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

HeadClick

Occurs when the user clicks on the column header.

LeftColChange

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

RowChange

Occurs when the row focus changes.

RowResize

Occurs when the user has finished resizing a grid row.

Scroll

Occurs when the user scrolls the grid.

SelChange

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

UnboundColumnFetch

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

ValueItemError

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

Protected Properties

RowPosition

Gets the current position from the currency manager.

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.