[]
        
(Showing Draft Content)

C1.Win.C1List.ListBase.Frame

Frame Class

Summary description for BaseGridFrame.

Namespace: C1.Win.C1List.ListBase
Assembly: C1.Win.C1List.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
m_serializing

Properties

Name Description
AllowSort

Returns or sets whether or not column sort is allowed.

BorderStyle

Returns or sets the border style for the control.

Caption

Returns or sets the caption for list.

CaptionHeight

Returns or sets the height of the list caption area. The default value is -1, which means that actual height is set automatically according to the font size. Set this property to 0 to hide the caption.

CreateParams
DataMember

Returns or sets the name of the data member used to populate the control.

DataSource

Specifies the data source object used to bind the control to.

Renderer

Gets or sets the base grid renderer.

ScrollTrack

Determines whether the list constantly displays information as it scrolls.

ShowHeaderCheckBox

Determines whether a check box which can select/deselect all rows on header section is displayed in CheckBox selection mode.

VisualStyle

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

allowMouseWheel

Gets a value indicating whether the mouse wheel is enabled.

Methods

Name Description
BeginInit()

ISupportInitialize interface.

BeginUpdate()

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

ClearFields()

Restores the default list layout.

Dispose(bool)

Called when the class is being disposed.

EndInit()

ISupportInitialize interface.

EndUpdate()

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

GetSchema(PropertyDescriptorCollection, int, DataRelation, PropertyDescriptor[])

Gets the data source schema.

InitLayout()
InitializeStyles()
Invalidate()
Invalidate(Rectangle)
Invalidate(Region)
IsInputChar(char)
IsInputKey(Keys)
LoadResources()
OnAddNew(EventArgs)

Raised when a new row is added.

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.

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.

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)
OnChange(EventArgs)

Raised when the grids cell content has been modified.

OnClick(EventArgs)
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.

OnColSelected(ColEventArgs)

Raised when column is selected.

OnCursorChanged(EventArgs)
OnDataSourceChanged(EventArgs)

Raised when the datasource is changed.

OnDoubleClick(EventArgs)
OnError(ErrorEventArgs)

Raised when the grid encounters an error through the UI.

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.

OnFetchRowStyle(FetchRowStyleEventArgs)

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

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.

OnFontChanged(EventArgs)
OnFootClick(ColEventArgs)

Raised when a column footer has been clicked.

OnFormatText(FormatTextEventArgs)

Raised when a cell value needs custom formatting.

OnHeadClick(ColEventArgs)

Raised when a column header has been clicked.

OnInit(EventArgs)

Raised when the grid is initialized.

OnKeyDown(KeyEventArgs)
OnKeyPress(KeyPressEventArgs)
OnKeyUp(KeyEventArgs)
OnLayoutReady(EventArgs)
OnLeave(EventArgs)
OnLeftColChange(SplitEventArgs)

Raised when the left column has changed.

OnMouseDown(MouseEventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnMouseWheel(MouseEventArgs)
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)
OnResize(EventArgs)
OnRightToLeftChanged(EventArgs)
OnRowColChange(RowColChangeEventArgs)

Raised after a row or column currency has been changed.

OnRowResize(CancelEventArgs)

Raised before a row is resized.

OnScroll1(CancelEventArgs)

Raised when the grid scrolls.

OnSelChange(CancelEventArgs)

Raised when a selection has changed.

OnSelectionChanged(EventArgs)

Raised when a selection has changed.

OnSelectionChanging(CancelEventArgs)

Raises the SelectionChanging event.

OnSizeChanged(EventArgs)
OnSort(FilterEventArgs)

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

OnSplitChange(EventArgs)

Raised when split currency has changed.

OnSplitRemoved(EventArgs)

Raised when horizontal or vertical splits are removed.

OnTopIndexChange(SplitEventArgs)

Raised when the top row has changed.

OnUnboundColumnFetch(UnboundColumnFetchEventArgs)

Raised to fetch data for an unbound column.

OnValueItemError(ColEventArgs)

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

OnVisibleChanged(EventArgs)
OnVisualStyleChanged(EventArgs)

Raises the VisualStyleChanged event.

ResetCaptionHeight()

Restore the CaptionHeight property to its default value.

ResetVisualStyle()

Resets VisualStyle to the default value.

ResumeBinding()

Resumes data binding notification from the datasource.

SetDataSource(object, BindingMemberInfo, bool)
ShouldSerializeCaptionHeight()

Indicates whether the CaptionHeight has a default value.

ShouldSerializeVisualStyle()

Tests whether VisualStyle should be serialized.

SuspendBinding()

Temporary suspension of data binding notifications from the datasource.

UnboundAddRow()
UnboundColUpdate(C1DataColumn, string)
UnboundDeleteRow()
UnboundGetData(int, C1DataColumn)
UnboundGetMaxRow()
UnboundGetRelativeBookmak(int, int)
UnboundReset(bool)
WndProc(ref Message)
canCreateSplits()
createDataColumn(PropertyDescriptor)
saveImages()

Helper method for serializing images.

Events

Name Description
SelectionChanged

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

SelectionChanging

Occurs when the selection is about to change.

VisualStyleChanged

Occurs when the VisualStyle property changes.