[]
        
(Showing Draft Content)

C1.Win.C1TrueDBGrid.BaseGrid.Frame

Frame Class

Summary description for BaseGridFrame.

Namespace: C1.Win.C1TrueDBGrid.BaseGrid
Assembly: C1.Win.C1TrueDBGrid.4.8.dll
Syntax
public abstract class Frame : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize

Constructors

Name Description
Frame()

Ctor for the split container class.

Fields

Name Description
_updating

Control update flag.

m_serializing

For internal use.

Properties

Name Description
AllowFilter

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

AllowInactiveStyle

Gets or sets a value indicating whether the InactiveStyle is applied to the grid when it loses focus.

AllowSort

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

BorderColor

Gets or sets the border color of the control.

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.

CreateParams
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.

DefaultSize

Gets the default size of the control.

DoubleBuffer

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

FlatStyle

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

Glyphs

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

Renderer

Gets or sets the renderer used to render visual styles.

RowCount

Gets the number of rows in an unbound grid.

RowHeight

Gets or sets the height of grid rows.

RowPosition

Gets the current position from the currency manager.

Rows

Gets the DataRowCollection for an unbound grid.

ScrollTrack

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

SplitDividerSize
UseColumnStyles

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

UseCompatibleTextRendering

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

UseCompatibleTextRenderingDefault
VisualStyle

Gets or sets a value that determines the overall appearance of the control.

Methods

Name Description
AddRow(string)

Adds a row to an unbound grid.

AddRow(string, char)

Adds a row to an unbound grid.

AddRows(int)

Adds the number of given rows to an unbound grid.

BeginInit()

ISupportInitialize interface.

CreateView()

Creates the view.

CreateView(View)

Creates the view.

Delete(int)

Deletes the given row from an unbound grid.

Delete(int, int)

Deletes a range of rows from an unbound grid.

Dispose(bool)

Called when the class is being disposed.

EndInit()

ISupportInitialize interface.

InitLayout()

Called after the control has been added to another container.

IsInputChar(char)

Inherited from Control.

IsInputKey(Keys)

Inherited from Control.

NewRow()

Creates a new System.Data.DataRow with the same schema as the unbound grid.

OnAfterColEdit(ColEventArgs)

Raised after a column has been edited.

OnAfterColUpdate(ColEventArgs)

Raised after the datasource has been updated for a column.

OnAfterDelete(EventArgs)

Raised after a row has been deleted.

OnAfterFilter(FilterEventArgs)

Raised after the datasource has been filtered.

OnAfterInsert(EventArgs)

Raised after a row has been inserted.

OnAfterSort(FilterEventArgs)

Raised after the datasource has been sorted.

OnAfterUpdate(EventArgs)

Raised after a row has been updated.

OnBackColorChanged(EventArgs)

Inherited from Control.

OnBeforeClose(CancelEventArgs)

Rasied before a child grid is closed.

OnBeforeColEdit(BeforeColEditEventArgs)

Raised before a column edit.

OnBeforeColUpdate(BeforeColUpdateEventArgs)

Raised before a column has been updated.

OnBeforeDelete(CancelEventArgs)

Raised before a row is deleted.

OnBeforeInsert(CancelEventArgs)

Raised before a row is inserted.

OnBeforeOpen(CancelEventArgs)

Raised before a child grid is displayed.

OnBeforeRowColChange(CancelEventArgs)

Raised before a row or column currency is changed.

OnBeforeUpdate(CancelEventArgs)

Raised before a row is updated.

OnBindingContextChanged(EventArgs)

Raised when the Binding Context changes.

OnBorderColorChanged(EventArgs)

Occurs when BorderColor property is changed.

OnButtonClick(ColEventArgs)

Raised when a button in a cell has been clicked.

OnChange(EventArgs)

Raised when the grids cell content has been modified.

OnClick(EventArgs)

Inherited from Control.

OnColEdit(ColEventArgs)

Raised when a column has been edited.

OnColMove(ColMoveEventArgs)

Raised when a column is dragged.

OnColResize(ColResizeEventArgs)

Raised when a column has been resized.

OnCollapse(BandEventArgs)

Raised when a band is collasped in a hierarchical grid.

OnCollapsed(BandChangedEventArgs)

Raised after a band has been collasped in a hierarchical grid.

OnComboSelect(ColEventArgs)

Raised when a value in the combobox has been selected.

OnComboSelected(ComboEventArgs)

Raised when a value in the combobox has been selected.

OnCursorChanged(EventArgs)

Inherited from Control.

OnCustomizeFilterEditor(CustomizeFilterEditorEventArgs)

Raises the CustomizeFilterEditor event.

OnDataSourceChanged(EventArgs)

Raised when the datasource is changed.

OnDoubleClick(EventArgs)

Inherited from Control.

OnEnter(EventArgs)

Inherited from Control.

OnError(ErrorEventArgs)

Raised when the grid encounters an error through the UI.

OnExpand(BandEventArgs)

Raised when a band is expanded in a hierarchical grid.

OnExpanded(BandChangedEventArgs)

Raised after a band has been expanded in a hierarchical grid.

OnFetchCellStyle(FetchCellStyleEventArgs)

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

OnFetchCellTips(FetchCellTipsEventArgs)

Raised when a cell tip is to be displayed.

OnFetchFilterStyle(FetchFilterStyleEventArgs)

Raised to customize the filter bar style.

OnFetchGroupCellStyle(FetchCellStyleEventArgs)

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

OnFetchRowStyle(FetchRowStyleEventArgs)

Raised when a custom style is to be used for a row.

OnFetchScrollTips(FetchScrollTipsEventArgs)

Raised when scroll tips are to be displayed.

OnFilter(FilterEventArgs)

Raised when AllowFilter is false.

OnFilterButtonClick(ColEventArgs)

Raised when a button in the filter bar is clicked.

OnFilterChange(EventArgs)

Raised when a filter condition has changed.

OnFirstRowChange(SplitEventArgs)

Raised when the top row has changed.

OnFontChanged(EventArgs)

Inherited from Control.

OnFootClick(ColEventArgs)

Raised when a column footer has been clicked.

OnFormatText(FormatTextEventArgs)

Raised when a cell value needs custom formatting.

OnGotFocus(EventArgs)

Inherited from Control.

OnGroupAggregate(GroupTextEventArgs)

Raised when custom aggregates are used for a grouped grid.

OnGroupColMove(GroupColMoveEventArgs)

Raised when a grouped column is moved.

OnGroupColMoved(GroupColMovedEventArgs)

Raised after a grouped column has been moved.

OnGroupHeadClick(GroupColEventArgs)

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

OnGroupInterval(GroupIntervalEventArgs)

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

OnGroupText(GroupTextEventArgs)

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

OnHeadClick(ColEventArgs)

Raised when a column header has been clicked.

OnKeyDown(KeyEventArgs)

Inherited from Control.

OnKeyPress(KeyPressEventArgs)

Inherited from Control.

OnKeyUp(KeyEventArgs)

Inherited from Control.

OnLeave(EventArgs)

Inherited from Control.

OnLeftColChange(SplitEventArgs)

Raised when the left column has changed.

OnLostFocus(EventArgs)

Inherited from Control.

OnMouseDown(MouseEventArgs)

Inherited from Control.

OnMouseEnter(EventArgs)

Inherited from Control.

OnMouseLeave(EventArgs)

Inherited from Control.

OnMouseMove(MouseEventArgs)

Inherited from Control.

OnMouseUp(MouseEventArgs)

Inherited from Control.

OnMouseWheel(MouseEventArgs)

Inherited from Control.

OnOwnerDrawCell(OwnerDrawCellEventArgs)

Raised when a cell has to be rendered.

OnOwnerDrawCellPrint(OwnerDrawCellEventArgs)

Raised when a cell has to be printed.

OnOwnerDrawPageFooter(OwnerDrawPageEventArgs)

Raised when a Page footer needs to be printed.

OnOwnerDrawPageHeader(OwnerDrawPageEventArgs)

Raised when Page header needs to be printed.

OnPaint(PaintEventArgs)
OnParentVisibleChanged(EventArgs)

Raises the VisibleChanged event when the Visible property value of the control's container changes.

OnQueryContinueDrag(QueryContinueDragEventArgs)

Inherited from Control.

OnResize(EventArgs)

Inherited from Control.

OnRightToLeftChanged(EventArgs)

Inherited from Control.

OnRowColChange(RowColChangeEventArgs)

Raised after a row or column currency has been changed.

OnRowResize(CancelEventArgs)

Raised before a row is resized.

OnSelChange(CancelEventArgs)

Raised when a selection has changed.

OnSizeChanged(EventArgs)

Inherited from Control.

OnSort(FilterEventArgs)

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

OnSplitAdded(EventArgs)

Raised when a split has been added.

OnSplitChange(EventArgs)

Raised when split currency has changed.

OnSplitRemoved(EventArgs)

Raised when a split has been removed.

OnUnboundColumnFetch(UnboundColumnFetchEventArgs)

Raised to fetch data for an unbound column.

OnUnboundColumnUpdated(UnboundColumnFetchEventArgs)

Raised when an unbound column has been updated.

OnValidating(CancelEventArgs)

Inherited from Control.

OnValueItemError(ColEventArgs)

Raised when a value item is selected that's not in the ValueItems collection.

OnVisibleChanged(EventArgs)

Inherited from Control.

OnVisualStyleChanged(EventArgs)

Raises the VisualStyleChanged event.

On_AddNew(EventArgs)

Raised when a new row is added.

On_Init(EventArgs)

Raised when the grid is initialized.

On_Scroll(CancelEventArgs)

Raised when the grid scrolls.

ResetBorderColor()
ResetCaptionHeight()
ResetVisualStyle()

Resets VisualStyle to the default value.

SetDataBinding()

Configures the grid for use without a datasource.

SetDataBinding(object, string)

Binds the grid at runtime

SetDataBinding(object, string, bool)

Binds the grid at runtime

SetDataBinding(object, string, bool, bool)

Binds the grid at runtime

SetDataSource(object, BindingMemberInfo, bool)

Called when the datasource changes.

SetFilterBarHeight(int)

Specifies the height of the filter bar.

ShouldSerializeCaptionHeight()
ShouldSerializeRowHeight()
ShouldSerializeSplitDividerSize()
ShouldSerializeVisualStyle()

Tests whether VisualStyle should be serialized.

WndProc(ref Message)

Processes Windows messages.

canCreateSplits()
initializeStyles()

Initializes root and named styles.

reinitViews()

Recomputes the sizes of the splits based on the client size of the control.

saveImages()

Helper method for serializing images.

Events

Name Description
VisualStyleChanged

Occurs when visual style property has been changed.