menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridControlBaseImp - API Reference

    Show / Hide Table of Contents

    Class GridControlBaseImp

    Implements a grid control that displays a grid model.

    Inheritance
    System.Object
    BaseControl
    ScrollControl
    GridControlBase
    GridControlBaseImp
    GridControl
    GridDataBoundGrid
    PivotGridControlBase
    Implements
    System.IDisposable
    ICancelModeProvider
    ISplitterPaneSupport
    IScrollBarWrapperContainer
    ISupportUpdating
    ISupportIntelliMouse
    IQueryFocusInside
    INonClientPaintingSupport
    IThemedControl
    ICreateNewWindow
    IGridModelSource
    IGridWindowlessSite
    IGridWindowlessObject
    IFindParentForm
    IThemeProvider
    IVisualStyle
    Inherited Members
    GridControlBase.m_bInvertRect
    GridControlBase.firstPaint
    GridControlBase.SupportsPrepareViewStyleInfo
    GridControlBase.recalcScrollBars
    GridControlBase.ShouldSerializeSortIconPlacement()
    GridControlBase.ResetSortIconPlacement()
    GridControlBase.OnQueryCreateCellTextBox(GridQueryCreateCellTextBoxEventArgs)
    GridControlBase.IsRightToLeft()
    GridControlBase.OnFillRectangleHook(GridFillRectangleHookEventArgs)
    GridControlBase.GetCurrentHScrollPixelDelta()
    GridControlBase.GetCurrentHScrollPixelPos()
    GridControlBase.SetCurrentHScrollPixelPos(Int32)
    GridControlBase.GetHScrollPixelMinimum()
    GridControlBase.ColIndexToHScrollPixelPos(Int32)
    GridControlBase.OnHScrollPixelPosChanged(GridScrollPositionChangedEventArgs)
    GridControlBase.OnVScrollPixelPosChanged(GridScrollPositionChangedEventArgs)
    GridControlBase.OnVScrollPixelPosChanging(GridScrollPositionChangingEventArgs)
    GridControlBase.OnHScrollPixelPosChanging(GridScrollPositionChangingEventArgs)
    GridControlBase.GetHScrollPixelWidth()
    GridControlBase.HScrollPixelPosToColIndex(Int32, Int32, Int32)
    GridControlBase.HScrollPixelScrollInView(Rectangle)
    GridControlBase.GetCurrentVScrollPixelDelta()
    GridControlBase.GetCurrentVScrollPixelPos()
    GridControlBase.SetCurrentVScrollPixelPos(Int32)
    GridControlBase.GetVScrollPixelMinimum()
    GridControlBase.RowIndexToVScrollPixelPos(Int32)
    GridControlBase.GetVScrollPixelHeight()
    GridControlBase.VScrollPixelPosToRowIndex(Int32, Int32, Int32)
    GridControlBase.VScrollPixelScrollInView(Rectangle)
    GridControlBase.SetWindowStyle(ControlStyles, Boolean)
    GridControlBase.ToString()
    GridControlBase.GetBackgroundColor()
    GridControlBase.GetGridVisualStyles()
    GridControlBase.GetGridVisualStylesDrawing()
    GridControlBase.ResetCursor()
    GridControlBase.GetBackColor(Color)
    GridControlBase.GetInterior(BrushInfo)
    GridControlBase.GetForeColor(Color)
    GridControlBase.OnThemeChanged(EventArgs)
    GridControlBase.OnModelChanged(EventArgs)
    GridControlBase.ResetGridBounds()
    GridControlBase.OnGridBoundsChanged(EventArgs)
    GridControlBase.InitPrintInfo()
    GridControlBase.RestoreBoundsAfterPrint()
    GridControlBase.OnPrintingModeChanged(EventArgs)
    GridControlBase.ShouldSerializeVScrollBehavior()
    GridControlBase.ShouldSerializeHScrollBehavior()
    GridControlBase.OnControlAdded(ControlEventArgs)
    GridControlBase.OnSupportsTransparentBackColorChanged(EventArgs)
    GridControlBase.ResetBackgroundImageID()
    GridControlBase.OnBackgroundImageChanged(EventArgs)
    GridControlBase.InitLayout()
    GridControlBase.OnVisibleChanged(EventArgs)
    GridControlBase.OnSplitterPaneClosing(EventArgs)
    GridControlBase.CreateNewControl(Control, Int32, Int32)
    GridControlBase.OnCreatedNewControl(GridControlBase, Int32, Int32)
    GridControlBase.Initialize()
    GridControlBase.CreateGridGraphics()
    GridControlBase.ScrollWindow(Int32, Int32, Rectangle, Rectangle, Boolean)
    GridControlBase.ModelRefreshRequest(Object, EventArgs)
    GridControlBase.ModelInvalidateRangeRequest(Object, GridInvalidateRangeRequestEventArgs)
    GridControlBase.MakeClientRange(GridRangeInfo)
    GridControlBase.RaiseSelectionDragging(GridSelectionDragEventArgs)
    GridControlBase.RaiseSelectionDragged(GridSelectionDragEventArgs)
    GridControlBase.OnSelectionDragging(GridSelectionDragEventArgs)
    GridControlBase.OnSelectionDragged(GridSelectionDragEventArgs)
    GridControlBase.RaiseResizingColumns(GridResizingColumnsEventArgs)
    GridControlBase.RaiseResizingRows(GridResizingRowsEventArgs)
    GridControlBase.OnResizingColumns(GridResizingColumnsEventArgs)
    GridControlBase.OnClientSizeChanged(EventArgs)
    GridControlBase.SetColumnWidths()
    GridControlBase.OnResizingRows(GridResizingRowsEventArgs)
    GridControlBase.RaiseQueryCanOleDragRange(GridQueryCanOleDragRangeEventArgs)
    GridControlBase.OnQueryCanOleDragRange(GridQueryCanOleDragRangeEventArgs)
    GridControlBase.OnDragDrop(DragEventArgs)
    GridControlBase.OnDragEnter(DragEventArgs)
    GridControlBase.OnDragLeave(EventArgs)
    GridControlBase.OnDragOver(DragEventArgs)
    GridControlBase.NotifySelectionFrameChanging(Graphics)
    GridControlBase.NotifySelectionFrameChanged(Graphics)
    GridControlBase.OnSelectionFrameChanging(GraphicsEventArgs)
    GridControlBase.OnSelectionFrameChanged(GraphicsEventArgs)
    GridControlBase.UpdateScrollBars()
    GridControlBase.OnLayout(LayoutEventArgs)
    GridControlBase.OnSizeChanged(EventArgs)
    GridControlBase.OnPaint(PaintEventArgs)
    GridControlBase.RaisePrepareViewStyleInfo(Int32, Int32, GridStyleInfo)
    GridControlBase.GetViewStyleInfo(Int32, Int32)
    GridControlBase.OnEnsurePaintCodeJitted()
    GridControlBase.GetViewStyleInfo(Int32, Int32, Boolean)
    GridControlBase.OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs)
    GridControlBase.OnDrawCell(GridDrawCellEventArgs)
    GridControlBase.DrawErrorIcon(GridDrawCellEventArgs, GridIconPaint)
    GridControlBase.OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs)
    GridControlBase.OnDrawCellBackground(GridDrawCellBackgroundEventArgs)
    GridControlBase.RaiseDrawCellBackground(GridDrawCellBackgroundEventArgs)
    GridControlBase.RaiseDrawCellDisplayText(GridDrawCellDisplayTextEventArgs)
    GridControlBase.OnDrawCellFrameAppearance(GridDrawCellBackgroundEventArgs)
    GridControlBase.RaiseDrawCellFrameAppearance(GridDrawCellBackgroundEventArgs)
    GridControlBase.OnDrawCellButton(GridDrawCellButtonEventArgs)
    GridControlBase.RaiseDrawCellButton(GridDrawCellButtonEventArgs)
    GridControlBase.OnDrawCellButtonBackground(GridDrawCellButtonBackgroundEventArgs)
    GridControlBase.RaiseDrawCellButtonBackground(GridDrawCellButtonBackgroundEventArgs)
    GridControlBase.OnEnabledChanged(EventArgs)
    GridControlBase.OnCellDrawn(GridDrawCellEventArgs)
    GridControlBase.OnDrawCurrentCellBorder(GridDrawCurrentCellBorderEventArgs)
    GridControlBase.RaiseDrawCurrentCellBorder(GridDrawCurrentCellBorderEventArgs)
    GridControlBase.DrawSingleCell(Graphics, Int32, Int32, Rectangle, GridStyleInfo, Boolean, Boolean)
    GridControlBase.OnDrawItem(Graphics, Int32, Int32, Rectangle, GridStyleInfo)
    GridControlBase.DrawInvertCell(Graphics, Int32, Int32, Rectangle, Boolean)
    GridControlBase.IntDrawInvertCell(Graphics, Int32, Int32, Rectangle, Boolean)
    GridControlBase.DrawGrid(Graphics)
    GridControlBase.DrawGrid(Graphics, Boolean)
    GridControlBase.DrawGrid(Graphics, Rectangle, Boolean)
    GridControlBase.DrawGrid(Graphics, Rectangle, Boolean, Boolean)
    GridControlBase.DrawClippedGrid(Graphics, Rectangle)
    GridControlBase.DrawClippedGrid(Graphics, Rectangle, Boolean)
    GridControlBase.SetWindowlessBounds(Control, Rectangle, Boolean)
    GridControlBase.ResetWindowlessBounds()
    GridControlBase.InvertRect(Graphics, Rectangle)
    GridControlBase.FillRect(Graphics, Rectangle)
    GridControlBase.OutlineCurrentCellHeader(Int32, Int32, ScrollBars)
    GridControlBase.OnDrawClientRowCol(Int32, Int32, Int32, Int32, Graphics, Rectangle)
    GridControlBase.UpdateScrollTips(ScrollEventArgs)
    GridControlBase.OnScrollTipFeedback(ScrollTipFeedbackEventArgs)
    GridControlBase.InitSplitterControl()
    GridControlBase.ShouldActivateCurrentCellInEnter()
    GridControlBase.IsVisibleCell(Int32, Int32)
    GridControlBase.FixCurrentCellGotFocus()
    GridControlBase.FixCurrentCellGotFocus(Boolean)
    GridControlBase.FixCurrentCellLostFocus()
    GridControlBase.OnControlGotFocus()
    GridControlBase.OnControlLostFocus()
    GridControlBase.OnEnter(EventArgs)
    GridControlBase.OnDeactivated(EventArgs)
    GridControlBase.ShouldDeactivateCurrentCell()
    GridControlBase.ShouldActivateCurrentCell()
    GridControlBase.QueryFocusInside()
    GridControlBase.OnValidating(CancelEventArgs)
    GridControlBase.OnGridValidating(CancelEventArgs)
    GridControlBase.OnWrapCellNextControlInForm(GridWrapCellNextControlInFormEventArgs)
    GridControlBase.RaiseWrapCellNextControlInForm(GridWrapCellNextControlInFormEventArgs)
    GridControlBase.GetOtherSplitRowChildPane(Int32, Int32)
    GridControlBase.GetOtherSplitColumnChildPane(Int32, Int32)
    GridControlBase.RaiseCurrentCellDeleting()
    GridControlBase.RaiseCurrentCellValidated()
    GridControlBase.RaiseCurrentCellInitializeControlText(GridCurrentCellInitializeControlTextEventArgs)
    GridControlBase.OnCurrentCellInitializeControlText(GridCurrentCellInitializeControlTextEventArgs)
    GridControlBase.RaiseCurrentCellErrorMessage(GridCurrentCellErrorMessageEventArgs)
    GridControlBase.OnCurrentCellErrorMessage(GridCurrentCellErrorMessageEventArgs)
    GridControlBase.RaiseCellButtonClicked(Int32, Int32, Int32, GridCellButton)
    GridControlBase.OnCellButtonClicked(GridCellButtonClickedEventArgs)
    GridControlBase.OnCurrentCellShowedDropDown(EventArgs)
    GridControlBase.RaiseCurrentCellShowedDropDown(EventArgs)
    GridControlBase.OnCurrentCellCloseDropDown(PopupClosedEventArgs)
    GridControlBase.RaiseCurrentCellCloseDropDown(PopupClosedEventArgs)
    GridControlBase.OnCurrentCellShowingDropDown(GridCurrentCellShowingDropDownEventArgs)
    GridControlBase.RaiseCurrentCellShowingDropDown(GridCurrentCellShowingDropDownEventArgs)
    GridControlBase.OnCurrentCellControlKeyMessage(GridCurrentCellControlKeyMessageEventArgs)
    GridControlBase.RaiseCurrentCellControlKeyMessage(GridCurrentCellControlKeyMessageEventArgs)
    GridControlBase.NotifyCurrentCellControlPreProcessMessage(Message)
    GridControlBase.NotifyCurrentCellControlWndProc(Message)
    GridControlBase.SetWmGetDlgCodeValue(Int32)
    GridControlBase.OnCellHitTest(GridCellHitTestEventArgs)
    GridControlBase.RaiseCellHitTest(GridCellHitTestEventArgs)
    GridControlBase.OnCellCursor(GridCellCursorEventArgs)
    GridControlBase.RaiseCellCursor(GridCellCursorEventArgs)
    GridControlBase.OnCellMouseHoverEnter(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseHoverEnter(GridCellMouseEventArgs)
    GridControlBase.OnCellMouseHover(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseHover(GridCellMouseEventArgs)
    GridControlBase.OnCellMouseHoverLeave(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseHoverLeave(GridCellMouseEventArgs)
    GridControlBase.OnCellMouseDown(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseDown(GridCellMouseEventArgs)
    GridControlBase.OnCellMouseMove(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseMove(GridCellMouseEventArgs)
    GridControlBase.OnCellMouseUp(GridCellMouseEventArgs)
    GridControlBase.RaiseCellMouseUp(GridCellMouseEventArgs)
    GridControlBase.OnCellCancelMode(GridCellMouseEventArgs)
    GridControlBase.RaiseCellCancelMode(GridCellMouseEventArgs)
    GridControlBase.OnScrollInfoChanged(EventArgs)
    GridControlBase.OnCurrentCellMoving(GridCurrentCellMovingEventArgs)
    GridControlBase.OnCurrentCellMoved(GridCurrentCellMovedEventArgs)
    GridControlBase.OnCurrentCellMoveFailed(GridCurrentCellMoveFailedEventArgs)
    GridControlBase.OnCurrentCellActivating(GridCurrentCellActivatingEventArgs)
    GridControlBase.OnPushButtonClick(GridCellPushButtonClickEventArgs)
    GridControlBase.RaisePushButtonClick(Int32, Int32)
    GridControlBase.OnCellClick(GridCellClickEventArgs)
    GridControlBase.RaiseCellClick(Int32, Int32, MouseEventArgs, Boolean)
    GridControlBase.RaiseCellClick(Int32, Int32, MouseEventArgs)
    GridControlBase.OnCheckBoxClick(GridCellClickEventArgs)
    GridControlBase.RaiseCheckBoxClick(Int32, Int32, MouseEventArgs)
    GridControlBase.OnCellDoubleClick(GridCellClickEventArgs)
    GridControlBase.RaiseCellDoubleClick(Int32, Int32, MouseEventArgs, Boolean)
    GridControlBase.RaiseCellDoubleClick(Int32, Int32, MouseEventArgs)
    GridControlBase.OnCurrentCellActivated(EventArgs)
    GridControlBase.OnCurrentCellActivateFailed(GridCurrentCellActivateFailedEventArgs)
    GridControlBase.OnCurrentCellDeleting(CancelEventArgs)
    GridControlBase.OnCurrentCellStartEditing(CancelEventArgs)
    GridControlBase.OnCurrentCellKeyDown(KeyEventArgs)
    GridControlBase.OnCurrentCellKeyUp(KeyEventArgs)
    GridControlBase.OnCurrentCellKeyPress(KeyPressEventArgs)
    GridControlBase.OnCurrentCellValidateString(GridCurrentCellValidateStringEventArgs)
    GridControlBase.OnCurrentCellChanging(CancelEventArgs)
    GridControlBase.NotifyCurrentCellChanged()
    GridControlBase.OnCurrentCellChanged(EventArgs)
    GridControlBase.OnCurrentCellDeactivating(CancelEventArgs)
    GridControlBase.OnCurrentCellValidating(CancelEventArgs)
    GridControlBase.OnCurrentCellValidated(EventArgs)
    GridControlBase.OnCurrentCellAcceptedChanges(CancelEventArgs)
    GridControlBase.OnCurrentCellConfirmChangesFailed(EventArgs)
    GridControlBase.OnCurrentCellRejectedChanges(EventArgs)
    GridControlBase.OnCurrentCellEditingComplete(EventArgs)
    GridControlBase.OnCurrentCellDeactivated(GridCurrentCellDeactivatedEventArgs)
    GridControlBase.OnCurrentCellDeactivateFailed(EventArgs)
    GridControlBase.OnCurrentCellControlDoubleClick(ControlEventArgs)
    GridControlBase.OnCurrentCellControlGotFocus(ControlEventArgs)
    GridControlBase.OnCurrentCellControlLostFocus(ControlEventArgs)
    GridControlBase.GetNextCurrentCellPosition(GridDirectionType, Int32, Int32)
    GridControlBase.OnMoveCurrentCellDirection(GridMoveCurrentCellDirectionEventArgs)
    GridControlBase.OnQueryNextCurrentCellPosition(GridQueryNextCurrentCellPositionEventArgs)
    GridControlBase.IsShowCurrentRow(Int32)
    GridControlBase.ProcessDialogChar(Char)
    GridControlBase.GetCurrentCell()
    GridControlBase.ProcessTabKeyMovingFocus(Boolean)
    GridControlBase.ProcessDialogKey(Keys)
    GridControlBase.IsInputKey(Keys)
    GridControlBase.IsInputChar(Char)
    GridControlBase.ProcessKeyEventArgs(Message)
    GridControlBase.ProcessCmdKey(Message, Keys)
    GridControlBase.ShouldDeleteKeyClearCurrentCellContentsOnly()
    GridControlBase.OnKeyDown(KeyEventArgs)
    GridControlBase.OnKeyUp(KeyEventArgs)
    GridControlBase.OnKeyPress(KeyPressEventArgs)
    GridControlBase.PreProcessMessage(Message)
    GridControlBase.ProcessKeyPreview(Message)
    GridControlBase.ProcessKeyMessage(Message)
    GridControlBase.GetCellRenderer(Int32, Int32)
    GridControlBase.BeginUpdate(BeginUpdateOptions)
    GridControlBase.BeginUpdateModel(BeginUpdateOptions, Boolean)
    GridControlBase.EndUpdate(Boolean)
    GridControlBase.Update()
    GridControlBase.EndUpdateModel(Boolean, Boolean)
    GridControlBase.OnInvalidated(InvalidateEventArgs)
    GridControlBase.RectangleToRangeInfo(Rectangle)
    GridControlBase.RectangleToRangeInfo(Rectangle, Int32)
    GridControlBase.PointToRangeInfo(Point)
    GridControlBase.PointToRowCol(Point, Int32, Int32)
    GridControlBase.PointToRowCol(Point, Int32, Int32, Int32)
    GridControlBase.PointToRangeInfo(Point, Int32)
    GridControlBase.RangeInfoToRectangle(GridRangeInfo)
    GridControlBase.RangeInfoToRectangle(GridRangeInfo, GridRangeOptions)
    GridControlBase.GetScrollOutOfViewCurrentCellState(GridCellRendererBase, Control, Rectangle, Int32, Int32, GridDirectionType)
    GridControlBase.OnBeforePaint(EventArgs)
    GridControlBase.SetRowHeight(Int32, Int32, Int32)
    GridControlBase.SetRowHeight(Int32, Int32, Int32[])
    GridControlBase.SetRowHidden(Int32, Int32, Boolean)
    GridControlBase.SetRowHidden(Int32, Int32, Boolean[])
    GridControlBase.SetColWidth(Int32, Int32, Int32)
    GridControlBase.SetColWidth(Int32, Int32, Int32[])
    GridControlBase.SetColHidden(Int32, Int32, Boolean)
    GridControlBase.SetColHidden(Int32, Int32, Boolean[])
    GridControlBase.GetRowRangeHeight(Int32, Int32)
    GridControlBase.GetRowRangeHeight(Int32, Int32, Int32)
    GridControlBase.GetRowHeight(Int32)
    GridControlBase.GetMaximumPossibleTopRow(Rectangle)
    GridControlBase.GetMaximumPossibleLeftCol(Rectangle)
    GridControlBase.GetColWidth(Int32)
    GridControlBase.GetRowHidden(Int32)
    GridControlBase.GetColHidden(Int32)
    GridControlBase.ShouldDisplayHeaderCol()
    GridControlBase.ShouldDisplayHeaderRow()
    GridControlBase.UpdateWithCustomPaint(Rectangle, PaintEventHandler)
    GridControlBase.UpdateWithDrawClippedGrid(Rectangle)
    GridControlBase.WndProc(Message)
    GridControlBase.OnMouseActivating(CancelEventArgs)
    GridControlBase.RaiseMouseActivating()
    GridControlBase.GetGridWindow()
    GridControlBase.GetWindow()
    GridControlBase.GetVisibleBounds()
    GridControlBase.FindParentForm()
    GridControlBase.OnCreateControl()
    GridControlBase.GridRectangleToScreen(Rectangle)
    GridControlBase.GridRectangleToClient(Rectangle)
    GridControlBase.GridPointToScreen(Point)
    GridControlBase.GridPointToClient(Point)
    GridControlBase.PointToClient(Point)
    GridControlBase.PointToScreen(Point)
    GridControlBase.RectangleToClient(Rectangle)
    GridControlBase.RectangleToScreen(Rectangle)
    GridControlBase.GetFirstScrollableRow()
    GridControlBase.GetVisibleFrozenRows()
    GridControlBase.GetFirstScrollableCol()
    GridControlBase.GetVisibleFrozenCols()
    GridControlBase.ModelFixedColChanged(Object, GridCountChangedEventArgs)
    GridControlBase.ModelFixedRowChanged(Object, GridCountChangedEventArgs)
    GridControlBase.ModelHeaderColChanged(Object, GridCountChangedEventArgs)
    GridControlBase.ModelHeaderRowChanged(Object, GridCountChangedEventArgs)
    GridControlBase.SuspendInvalidate()
    GridControlBase.ResumeInvalidate()
    GridControlBase.ShouldIgnoreInvalidate()
    GridControlBase.Invalidate()
    GridControlBase.Invalidate(Rectangle)
    GridControlBase.Invalidate(Rectangle, Boolean)
    GridControlBase.InvalidateDeactivatedCurrentCell(Int32, Int32, Rectangle)
    GridControlBase.InvalidateRange(GridRangeInfo)
    GridControlBase.InvalidateRange(GridRangeInfo, GridRangeOptions)
    GridControlBase.RefreshRange(GridRangeInfo)
    GridControlBase.RefreshRange(GridRangeInfo, GridRangeOptions)
    GridControlBase.RefreshRange(GridRangeInfo, Boolean)
    GridControlBase.RefreshRange(GridRangeInfo, GridRangeOptions, Boolean)
    GridControlBase.Refresh()
    GridControlBase.ScrollCellInView(GridRangeInfo)
    GridControlBase.ScrollCellInView(GridRangeInfo, GridScrollCurrentCellReason)
    GridControlBase.ScrollCellInView(Int32, Int32)
    GridControlBase.ScrollCellInView(Int32, Int32, GridScrollCurrentCellReason)
    GridControlBase.OnQueryScrollCellInView(GridQueryScrollCellInViewEventArgs)
    GridControlBase.ProcessScrollCellInView(Int32, Int32, Boolean, GridScrollCurrentCellReason)
    GridControlBase.SetTopRow(Int32)
    GridControlBase.SetLeftCol(Int32)
    GridControlBase.GetClientRow(Int32)
    GridControlBase.GetClientCol(Int32)
    GridControlBase.GetRow(Int32)
    GridControlBase.GetCol(Int32)
    GridControlBase.GetMaximumTopRowIndex()
    GridControlBase.GetMinimumTopRowIndex()
    GridControlBase.GetMaximumLeftColIndex()
    GridControlBase.GetMinimumLeftColIndex()
    GridControlBase.OnWindowScrolled(ScrollWindowEventArgs)
    GridControlBase.OnTopRowChanging(GridRowColIndexChangingEventArgs)
    GridControlBase.OnTopRowChanged(GridRowColIndexChangedEventArgs)
    GridControlBase.OnLeftColChanging(GridRowColIndexChangingEventArgs)
    GridControlBase.OnLeftColChanged(GridRowColIndexChangedEventArgs)
    GridControlBase.OnHScroll(Object, ScrollEventArgs)
    GridControlBase.OnMouseWheel(MouseEventArgs)
    GridControlBase.RaiseMouseWheel(MouseEventArgs)
    GridControlBase.IsDesignMode()
    GridControlBase.Focus()
    GridControlBase.OnMouseDown(MouseEventArgs)
    GridControlBase.OnGridControlMouseDown(CancelMouseEventArgs)
    GridControlBase.OnGridControlMouseMove(CancelMouseEventArgs)
    GridControlBase.OnGridControlMouseUp(CancelMouseEventArgs)
    GridControlBase.OnMouseUp(MouseEventArgs)
    GridControlBase.OnCommentTipShowing(CommentTipShowingEventArgs)
    GridControlBase.OnCommentTipShown(CommentTipShownEventArgs)
    GridControlBase.OnDrawCommentIndicator(DrawCommentIndicatorEventArgs)
    GridControlBase.OnCancelMode(EventArgs)
    GridControlBase.OnAutoScrollingChanged(EventArgs)
    GridControlBase.OnScrollControlMouseDown(CancelMouseEventArgs)
    GridControlBase.GetDefaultMaxStandardValuesSize()
    GridControlBase.GetCachedGraphics()
    GridControlBase.NotifyCellHighlighted(Int32, Int32, GridStyleInfo)
    GridControlBase.IsTouchOverSelectionBubbles(Point)
    GridControlBase.OnTouchPanBegin(Point)
    GridControlBase.OnTouchPan(Point, Boolean)
    GridControlBase.OnTouchPanEnd(Point)
    GridControlBase.GetActiveThemeName()
    GridControlBase.OnThemeNameChanged(String)
    GridControlBase.GetControlName(String)
    GridControlBase.OnCanApplyThemeChanged(Boolean)
    GridControlBase.OnCanOverrideStyleChanged(Boolean)
    GridControlBase.ShowTouchIndicator
    GridControlBase.AllowViewStyleCacheBaseStyleValues
    GridControlBase.UseOldHiddenScrollLogic
    GridControlBase.SortIconPlacement
    GridControlBase.UseImageListDrawing
    GridControlBase.ExternalMove
    GridControlBase.AllowTextBoxAutoSize
    GridControlBase.AllowRowResizeUsingCellBoundaries
    GridControlBase.AllowColumnResizeUsingCellBoundaries
    GridControlBase.ShowMessageBoxOnDrop
    GridControlBase.OptimizeDrawBackground
    GridControlBase.UseGdiPlusRightAlignedTextWorkaround
    GridControlBase.GridControlBaseEventsTarget
    GridControlBase.HScrollPixel
    GridControlBase.VScrollPixel
    GridControlBase.PrintBounds
    GridControlBase.PdfExport
    GridControlBase.UpdateSelectRange_Range
    GridControlBase.UpdateSelectRange_OldRange
    GridControlBase.UnHideColsOnDblClick
    GridControlBase.Model
    GridControlBase.Cursor
    GridControlBase.VScroll
    GridControlBase.HScroll
    GridControlBase.ExcelLikeAlignment
    GridControlBase.GridBounds
    GridControlBase.HandleWMSYSCHAR
    GridControlBase.ShowRowHeaderErroricon
    GridControlBase.AllowProportionalColumnSizing
    GridControlBase.EnableRTLMark
    GridControlBase.HasGridBounds
    GridControlBase.AllowHScrollOnMouseWheel
    GridControlBase.DefaultSize
    GridControlBase.PrintingMode
    GridControlBase.HScrollBehavior
    GridControlBase.VScrollBehavior
    GridControlBase.DisableFormattedTextInEditMode
    GridControlBase.ThemesEnabled
    GridControlBase.Office2007ScrollBars
    GridControlBase.Office2007ScrollBarsColorScheme
    GridControlBase.GridOfficeScrollBars
    GridControlBase.MetroScrollBars
    GridControlBase.MetroColorTable
    GridControlBase.Office2010ScrollBarsColorScheme
    GridControlBase.Office2016ScrollBarsColorScheme
    GridControlBase.SupportsTransparentBackColor
    GridControlBase.PersistAppearanceSettings
    GridControlBase.BackgroundImageID
    GridControlBase.HasBackgroundImageID
    GridControlBase.BackColor
    GridControlBase.VerticalThumbTrack
    GridControlBase.HorizontalThumbTrack
    GridControlBase.VerticalScrollTips
    GridControlBase.HorizontalScrollTips
    GridControlBase.OleDragDropEventsTarget
    GridControlBase.ExcelLikeFrameSelections
    GridControlBase.Selections
    GridControlBase.ShowDisabledGridAsGray
    GridControlBase.AllowDrawItemRaiseExceptionCatched
    GridControlBase.IsDrawing
    GridControlBase.DropDownContainerParent
    GridControlBase.HitTestSelectionEdge
    GridControlBase.PrintInfo
    GridControlBase.IsInLeaveOrValidate
    GridControlBase.SplitRow
    GridControlBase.SplitCol
    GridControlBase.ForceCurrentCellMoveTo
    GridControlBase.CurrentCell
    GridControlBase.WantKeys
    GridControlBase.FocusOnMouseDown
    GridControlBase.WantTabKey
    GridControlBase.WantTabKeyInPreProcessMessage
    GridControlBase.WantEnterKey
    GridControlBase.WantEscapeKey
    GridControlBase.CellRenderers
    GridControlBase.InvalidBounds
    GridControlBase.ViewLayout
    GridControlBase.MarkColHeader
    GridControlBase.MarkRowHeader
    GridControlBase.DefaultRowHeight
    GridControlBase.DefaultColWidth
    GridControlBase.InImeComposition
    GridControlBase.InUpdateWithCustomPaint
    GridControlBase.IsWindowless
    GridControlBase.ParentSite
    GridControlBase.GridCapture
    GridControlBase.Capture
    GridControlBase.IsMousePressed
    GridControlBase.IsValidating
    GridControlBase.IsValidated
    GridControlBase.IsActiveControl
    GridControlBase.IsDeactivated
    GridControlBase.HasControlFocus
    GridControlBase.OptimizeInsertRemoveCells
    GridControlBase.IgnoreCurrentCellInvalidate
    GridControlBase.TopRowIndex
    GridControlBase.LeftColIndex
    GridControlBase.GridCellsRange
    GridControlBase.ScrollableGridRangeInfo
    GridControlBase.PaneDesc
    GridControlBase.VScrollIncrement
    GridControlBase.HScrollIncrement
    GridControlBase.Focused
    GridControlBase.AllowFixFocusWhenCurrentCellIsEditingInMouseUp
    GridControlBase.IGridModelSource.Model
    GridControlBase.ThemeStyle
    GridControlBase.ThemeName
    GridControlBase.IsVisualStyleEnabled
    GridControlBase.QueryCreateCellTextBox
    GridControlBase.FillRectangleHook
    GridControlBase.HScrollPixelPosChanged
    GridControlBase.VScrollPixelPosChanged
    GridControlBase.VScrollPixelPosChanging
    GridControlBase.HScrollPixelPosChanging
    GridControlBase.ThemeChanged
    GridControlBase.ModelChanged
    GridControlBase.GridBoundsChanged
    GridControlBase.PrintingModeChanged
    GridControlBase.SupportsTransparentBackColorChanged
    GridControlBase.SelectionDragged
    GridControlBase.SelectionDragging
    GridControlBase.ResizingColumns
    GridControlBase.ResizingRows
    GridControlBase.QueryCanOleDragRange
    GridControlBase.SelectionFrameChanging
    GridControlBase.SelectionFrameChanged
    GridControlBase.PrepareViewStyleInfo
    GridControlBase.DrawCell
    GridControlBase.DrawCellDisplayText
    GridControlBase.DrawCellBackground
    GridControlBase.DrawCellFrameAppearance
    GridControlBase.DrawCellButton
    GridControlBase.DrawCellButtonBackground
    GridControlBase.CellDrawn
    GridControlBase.DrawCurrentCellBorder
    GridControlBase.WrapCellNextControlInForm
    GridControlBase.CurrentCellInitializeControlText
    GridControlBase.CurrentCellErrorMessage
    GridControlBase.CellButtonClicked
    GridControlBase.CurrentCellMoving
    GridControlBase.CurrentCellMoved
    GridControlBase.CurrentCellMoveFailed
    GridControlBase.CurrentCellActivating
    GridControlBase.CurrentCellActivated
    GridControlBase.CurrentCellActivateFailed
    GridControlBase.CurrentCellDeleting
    GridControlBase.CurrentCellStartEditing
    GridControlBase.CurrentCellChanging
    GridControlBase.CurrentCellChanged
    GridControlBase.CurrentCellDeactivating
    GridControlBase.CurrentCellShowedDropDown
    GridControlBase.CurrentCellCloseDropDown
    GridControlBase.CurrentCellShowingDropDown
    GridControlBase.CurrentCellValidating
    GridControlBase.CurrentCellValidated
    GridControlBase.CurrentCellAcceptedChanges
    GridControlBase.CurrentCellConfirmChangesFailed
    GridControlBase.CurrentCellRejectedChanges
    GridControlBase.CurrentCellEditingComplete
    GridControlBase.CurrentCellDeactivated
    GridControlBase.CurrentCellDeactivateFailed
    GridControlBase.CurrentCellControlGotFocus
    GridControlBase.CurrentCellControlKeyMessage
    GridControlBase.CurrentCellControlDoubleClick
    GridControlBase.CurrentCellControlLostFocus
    GridControlBase.PushButtonClick
    GridControlBase.CheckBoxClick
    GridControlBase.CellClick
    GridControlBase.CellDoubleClick
    GridControlBase.CellHitTest
    GridControlBase.CellCursor
    GridControlBase.CellMouseHoverEnter
    GridControlBase.CellMouseHover
    GridControlBase.CellMouseHoverLeave
    GridControlBase.CellMouseDown
    GridControlBase.CellMouseMove
    GridControlBase.CellMouseUp
    GridControlBase.CellCancelMode
    GridControlBase.ScrollInfoChanged
    GridControlBase.CurrentCellValidateString
    GridControlBase.CurrentCellKeyPress
    GridControlBase.CurrentCellKeyDown
    GridControlBase.CurrentCellKeyUp
    GridControlBase.MoveCurrentCellDirection
    GridControlBase.QueryNextCurrentCellPosition
    GridControlBase.MouseActivating
    GridControlBase.QueryScrollCellInView
    GridControlBase.TopRowChanging
    GridControlBase.LeftColChanging
    GridControlBase.TopRowChanged
    GridControlBase.LeftColChanged
    GridControlBase.GridControlMouseDown
    GridControlBase.GridControlMouseMove
    GridControlBase.GridControlMouseUp
    GridControlBase.CommentTipShowing
    GridControlBase.CommentTipShown
    GridControlBase.DrawCommentIndicator
    ScrollControl.IgnoreSizeGripStyleHideShow
    ScrollControl.Dispose()
    ScrollControl.ResetMouseController()
    ScrollControl.ShouldSerializeMouseWheelScrollLines()
    ScrollControl.LastMousePositionToClient()
    ScrollControl.HitTest(Point)
    ScrollControl.HitTest(Point, MouseButtons)
    ScrollControl.HitTest(Point, MouseButtons, IMouseController)
    ScrollControl.HitTest(Point, MouseButtons, Int32, IMouseController)
    ScrollControl.OnOffice2007ScrollBarsChanged(EventArgs)
    ScrollControl.OnOffice2007ScrollBarsColorSchemeChanged(EventArgs)
    ScrollControl.OnOffice2010ScrollBarsColorSchemeChanged(EventArgs)
    ScrollControl.OnOffice2016ScrollBarsColorSchemeChanged(EventArgs)
    ScrollControl.OnOfficeScrollBarsChanged(ScrollControl.OfficeScrollBarsEventArgs)
    ScrollControl.OnParentChanged(EventArgs)
    ScrollControl.OnSplitterPaneClosed(EventArgs)
    ScrollControl.OnFillSplitterPaneChanged(EventArgs)
    ScrollControl.OnScrollbarsVisibleChanged(EventArgs)
    ScrollControl.OnMouseWheelZoom(MouseWheelZoomEventArgs)
    ScrollControl.OnScrollControlMouseMove(CancelMouseEventArgs)
    ScrollControl.OnScrollControlMouseUp(CancelMouseEventArgs)
    ScrollControl.OnScrollControlHandledMouseUp(MouseEventArgs)
    ScrollControl.OnScrollControlHandledMouseMove(MouseEventArgs)
    ScrollControl.OnScrollControlHandledMouseDown(MouseEventArgs)
    ScrollControl.OnStartAutoScrolling(StartAutoScrollingEventArgs)
    ScrollControl.OnSetCursor(Message)
    ScrollControl.OnMouseLeave(EventArgs)
    ScrollControl.OnMouseHover(EventArgs)
    ScrollControl.OnHScrollBarValueChanged(Object, EventArgs)
    ScrollControl.OnVScrollBarValueChanged(Object, EventArgs)
    ScrollControl.OnHorizontalScroll(ScrollEventArgs)
    ScrollControl.OnVerticalScroll(ScrollEventArgs)
    ScrollControl.OnVScroll(Object, ScrollEventArgs)
    ScrollControl.OnShowContextMenu(ShowContextMenuEventArgs)
    ScrollControl.OnIntelliMouseDragScrolling(IntelliMouseDragScrollEventArgs)
    ScrollControl.OnNcCalcSize(Rectangle)
    ScrollControl.OnCreateScrollTipWindow()
    ScrollControl.OnUpdatingChanged(EventArgs)
    ScrollControl.OnWindowScrolling(ScrollWindowEventArgs)
    ScrollControl.OnLeave(EventArgs)
    ScrollControl.OnValidated(EventArgs)
    ScrollControl.OnLostFocus(EventArgs)
    ScrollControl.OnGotFocus(EventArgs)
    ScrollControl.OnControlRemoved(ControlEventArgs)
    ScrollControl.OnLocationChanged(EventArgs)
    ScrollControl.OnHandleCreated(EventArgs)
    ScrollControl.OnValidatingLostFocus()
    ScrollControl.OnAccelerateScrollingChanged(EventArgs)
    ScrollControl.ISplitterPaneSupport.PaneClosing()
    ScrollControl.ISplitterPaneSupport.PaneClosed()
    ScrollControl.GetScrollBarFrameOfComponent(Object)
    ScrollControl.GetDynamicSplitterFrameOfComponent(Object)
    ScrollControl.ProcessMouseWheel(MouseEventArgs)
    ScrollControl.ResetMouseWheelScrollLines()
    ScrollControl.InvalidateNc()
    ScrollControl.InvalidateNc(Rectangle)
    ScrollControl.UpdateNc()
    ScrollControl.OnNCPaint(NCPaintEventArgs)
    ScrollControl.INonClientPaintingSupport.NonClientPaint(PaintEventArgs, Rectangle, Rectangle)
    ScrollControl.NotifyCancelMode()
    ScrollControl.ResetInsideScrollMargins()
    ScrollControl.StartAutoScrollTimer(ScrollBarWrapper, ScrollEventType)
    ScrollControl.StartAutoScrollTimer(Message)
    ScrollControl.StartAutoScrollTimer(Message, Int32)
    ScrollControl.FixRenderOrigin(Graphics)
    ScrollControl.ShouldPrepareUpdate()
    ScrollControl.ShouldPrepareUpdate(Boolean)
    ScrollControl.BeginUpdate()
    ScrollControl.OnBeginUpdateScrollBars()
    ScrollControl.OnEndUpdateScrollBars()
    ScrollControl.EndUpdate()
    ScrollControl.CancelUpdate()
    ScrollControl.OnRightToLeftChanged(EventArgs)
    ScrollControl.EnsurePaintCodeJitted(Boolean)
    ScrollControl.EnableDoubleBufferSurface()
    ScrollControl.UpdateStyles()
    ScrollControl.PreJitPaint
    ScrollControl.AutoScrolling
    ScrollControl.DisableScrollWindow
    ScrollControl.SupportsThumbTrack
    ScrollControl.SizeGripStyle
    ScrollControl.AllowSizeGrip
    ScrollControl.ForceSizeBox
    ScrollControl.SmartSizeBox
    ScrollControl.AutoScrollTimerEnable
    ScrollControl.VScrollBar
    ScrollControl.HScrollBar
    ScrollControl.AllowIncreaseSmallChange
    ScrollControl.AutoScrollBounds
    ScrollControl.InsideScrollBounds
    ScrollControl.InsideScrollMargins
    ScrollControl.ScrollTip
    ScrollControl.ScrollTipFormat
    ScrollControl.IgnoreUICues
    ScrollControl.MouseWheelScrollLines
    ScrollControl.SmoothMouseWheelScrolling
    ScrollControl.UseSharedScrollBars
    ScrollControl.BorderStyle
    ScrollControl.IsSplitterPaneClosed
    ScrollControl.MouseControllerDispatcher
    ScrollControl.ActiveController
    ScrollControl.ISplitterPaneSupport.FillSplitterPane
    ScrollControl.FillSplitterPane
    ScrollControl.IsSplitterPaneClosing
    ScrollControl.EnableIntelliMouse
    ScrollControl.DiscardPaintMessagesAfterBeginUpdate
    ScrollControl.IsDisposing
    ScrollControl.LastMousePosition
    ScrollControl.AccelerateScrolling
    ScrollControl.AllowRaiseMouseMoveInOnDragOver
    ScrollControl.Size
    ScrollControl.Bounds
    ScrollControl.TabIndex
    ScrollControl.UpdateOptions
    ScrollControl.ISupportUpdating.Updating
    ScrollControl.Updating
    ScrollControl.PaintPending
    ScrollControl.HasDoubleBufferSurface
    ScrollControl.DoubleBufferSurface
    ScrollControl.UpdatingStyles
    ScrollControl.CreateParams
    ScrollControl.EnableTouchMode
    ScrollControl.Office2016BlackColorTable
    ScrollControl.Office2016WhiteColorTable
    ScrollControl.Office2016DarkGrayColorTable
    ScrollControl.Office2016ColorfulColorTable
    ScrollControl.Office2016ScrollBars
    ScrollControl.IVisualStyle.VisualTheme
    ScrollControl.ClientRectangle
    ScrollControl.ClientSize
    ScrollControl.DpiAware
    ScrollControl.Deactivated
    ScrollControl.AccelerateScrollingChanged
    ScrollControl.VerticalScroll
    ScrollControl.HorizontalScroll
    ScrollControl.IntelliMouseDragScrolling
    ScrollControl.ShowContextMenu
    ScrollControl.StartAutoScrolling
    ScrollControl.SplitterPaneClosed
    ScrollControl.SplitterPaneClosing
    ScrollControl.ScrollTipFeedback
    ScrollControl.ScrollbarsVisibleChanged
    ScrollControl.MouseWheelZoom
    ScrollControl.FillSplitterPaneChanged
    ScrollControl.UpdatingChanged
    ScrollControl.WindowScrolled
    ScrollControl.WindowScrolling
    ScrollControl.ScrollControlMouseDown
    ScrollControl.ScrollControlHandledMouseDown
    ScrollControl.ScrollControlMouseMove
    ScrollControl.ScrollControlHandledMouseMove
    ScrollControl.ScrollControlMouseUp
    ScrollControl.ScrollControlHandledMouseUp
    ScrollControl.CancelMode
    ScrollControl.AutoScrollingChanged
    ScrollControl.Office2010ScrollBarsColorSchemeChanged
    ScrollControl.Office2016ScrollBarsColorSchemeChanged
    ScrollControl.OfficeScrollBarsChanged
    ScrollControl.Office2007ScrollBarsColorSchemeChanged
    ScrollControl.Office2007ScrollBarsChanged
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.CanOverrideStyle
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.CanApplyTheme
    BaseControl.ControlName
    BaseControl.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridControlBaseImp : GridControlBase, IDisposable, ICancelModeProvider, ISplitterPaneSupport, IScrollBarWrapperContainer, ISupportUpdating, ISupportIntelliMouse, IQueryFocusInside, INonClientPaintingSupport, IThemedControl, ICreateNewWindow, IGridModelSource, IGridWindowlessSite, IGridWindowlessObject, IFindParentForm, IThemeProvider, IVisualStyle
    Remarks

    GridControlBase implements a view on a GridModel. Several views can be opened for the same model. Changes in GridModel are reflected immediately among all views.

    The GridModel provides storage for all data and settings associated with the grid. The GridControlBase implements user interaction and display of the data.

    GridControlBase is a user control that is derived from ScrollControl. It lets the user scroll through grid data with mouse or keyboard. The grid displays a large number of cells where each cell can have its own unique formatting and cell type.

    GridControlBase also offers a wide range of events that let you customize the default behavior of the grid at run-time.

    note

    In version 1.x, the GC class did derive directly from GridControlBase. Version 2.x derives GridControl from GridControlBaseImp. If you do have classes that derive directly from GridControlBase, your code will break. Please read the following explanation.

    If you derived directly from GridControlBase in your code, it is recommended that you change your code such that you derive from GridControlBaseImp instead.

    If you derived from the GridControl class, no action is required on your side.

    Here is why:

    In Version 1.x, the GridControlBase class did by default initialize all MouseControllers and CellTypes.

    We changed this now such that the GridControlBase class will only initialize the very basic cell types and mouse controllers. This step will help us later make the grid more modular and provide techniques to trim down the size of the grid assembly if you only need a subset of the features or also if we want to make parts of the grid work without interop code. The idea was to have a grid base class that only has minimal dependencies on other classes. If you have the grid source code and look at the grid\src tree, you will notice a "Base" folder and an "Extensions" folder. "Base" contains all essential files for a bare grid. "Extensions" contains all the files to make it a full-featured grid.

    In order to keep compatibility with existing code, the GridControlBaseImp class has been added. GridControlBaseImp is derived from GridControlBase and its sole purpose is to initialize all mouse controllers and cell types and establish other dependencies on grid features.

    If you derived directly from GridControlBase in your code base, it is recommended that you change your code such that you derive from GridControlBaseImp instead. Then your code should work without further change. Otherwise you need to manually initialize MouseControllers and cell types.

    The GridControl class itself has been changed such that it derives from GridControlBaseImp. Therefore if you were using the GridControl class no further change is necessary on your side.

    Here is a list of differences between GridControlBaseImp and GridControlBase:

    • GridControlBaseImp sets up the GridCellModelFactory as default cell type factory. GridControlBase on the other hand only sets up GridBaseCellModelFactory. GridCellModelFactory is able to instantiate the whole range of cell types that are part of Essential Grid. GridBaseCellModelFactory on the other hand only has dependencies on Header, Static, TextBox, ComboBox, and PushButton.

      So, if your code derives from GridControlBase directly and some celltypes do not appear to get instantiated, you should add cell types manually to the CellModels collection or derive from GridControlBaseImp.

    • GridControlBaseImp overrides the InitializeMouseControllers method. In this override it checks Model.Options.ControllerOptions and instantiates all mouse controllers that have been specified in this flag. GridControlBase on the other hand does not perform any action in InitializeMouseControllers.

    Other features that are implemented in GridControlBaseImp and not GridControlBase are:

    • The AccessibilityEnabled property. GridControlBase itself has no Accessibility support.
    • Multiple cell selection.
    • OLE drag-and-drop
    • Cell tips

    Again, if you derived from GridControl, no action is required. If you derived from GridControlBase, please change your code to derive from GridControlBaseImp instead.

    The change is mainly a preparation to make it easier for us in future. We try hard not to break existing code. Providing a GridControlBaseImp class seemed like a good, easy solution and will help us in the future make the grid more modular.

    Constructors

    GridControlBaseImp()

    Initializes a new GridControlBaseImp.

    Declaration
    public GridControlBaseImp()

    GridControlBaseImp(GridModel)

    Initializes a new GridControlBaseImp and attaches it to a GridModel.

    Declaration
    public GridControlBaseImp(GridModel model)
    Parameters
    Type Name Description
    GridModel model

    The GridModel this control is associated with.

    Properties

    AccessibilityEnabled

    Gets or sets a value indicating whether the control should enable its Accessibility support.

    Declaration
    public bool AccessibilityEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    CellToolTip

    Gets or sets a reference to the ToolTip object used for displaying CellTipText as ToolTips for cells.

    Declaration
    public ToolTip CellToolTip { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ToolTip

    PaintSelectCells

    Used internally.

    Declaration
    public override IGridPaintSelectCells PaintSelectCells { get; }
    Property Value
    Type Description
    IGridPaintSelectCells
    Overrides
    GridControlBase.PaintSelectCells

    Methods

    CreateAccessibilityInstance()

    Creates a new accessibility object for the control.

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    A new System.Windows.Forms.AccessibleObject for the control.

    CreateCellToolTip()

    Creates and initializes a ToolTip object. InitialDelay will be 500 and ReshowDelay will be set to 0 by default.

    Declaration
    protected virtual ToolTip CreateCellToolTip()
    Returns
    Type Description
    System.Windows.Forms.ToolTip

    The initialized ToolTip object for this grid.

    CreateOleDropTarget(GridControlBase, Int32)

    Creates a GridOleDropTarget object and calls GridOleDropTarget.Register. Override this method if you want to customize behavior of the GridOleDropTarget object.

    Declaration
    protected virtual GridOleDropTarget CreateOleDropTarget(GridControlBase grid, int flags)
    Parameters
    Type Name Description
    GridControlBase grid

    The grid control

    System.Int32 flags

    Value for DragDropDropTargetFlags

    Returns
    Type Description
    GridOleDropTarget

    returns GridOleDropTarget

    Dispose(Boolean)

    Unwires any events subscribed from GridCheckBoxCellRenderer.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    GridControlBase.Dispose(Boolean)
    Remarks

    See the documentation for the System.ComponentModel.Component class and its Dispose member.

    EnableOleDataSource()

    Enables OLE Data Source support for this control with default support for Text and Styles format.

    Declaration
    public bool EnableOleDataSource()
    Returns
    Type Description
    System.Boolean

    True if support was enabled successfully; False otherwise.

    EnableOleDataSource(Int32)

    Enables OLE Data Source support for this control with default support for Text and Styles format.

    Declaration
    public bool EnableOleDataSource(int flags)
    Parameters
    Type Name Description
    System.Int32 flags

    See GridDragDropFlags for various flags that customize the OLE Data Source behavior of the grid.

    Returns
    Type Description
    System.Boolean

    True if support was enabled successfully; False otherwise.

    EnableOleDropTarget()

    Enables OLE Drop Target support for this control with default support for Text and Styles format.

    Declaration
    public void EnableOleDropTarget()

    EnableOleDropTarget(Int32)

    Enables OLE Drop Target support for this control with GridDragDropFlags options specified.

    Declaration
    public void EnableOleDropTarget(int flags)
    Parameters
    Type Name Description
    System.Int32 flags

    See GridDragDropFlags for various flags that customize the OLE Drop Target behavior of the grid.

    InitializeDataObjectConsumerOptions()

    Initializes all data object consumers for this grid. See GridDataObjectConsumerOptions for default consumers that you can enable and disable through the DataObjectConsumerOptions property of the Options property.

    Declaration
    protected override void InitializeDataObjectConsumerOptions()
    Overrides
    GridControlBase.InitializeDataObjectConsumerOptions()
    Remarks

    Controllers will be registered by the RegisterDataObjectConsumer(IGridDataObjectConsumer).

    InitializeMouseControllers()

    Initializes all mouse controllers for this grid. See GridControllerOptions for default mouse controllers that you can enable and disable through the ControllerOptions of the Options property.

    Declaration
    protected override void InitializeMouseControllers()
    Overrides
    GridControlBase.InitializeMouseControllers()
    Remarks

    Controllers will be added and removed from MouseControllerDispatcher.

    IntUpdateSelectRange()

    Overridden to update the selected cells range.

    Declaration
    protected override void IntUpdateSelectRange()
    Overrides
    GridControlBase.IntUpdateSelectRange()

    OnActivateToolTip(GridActivateToolTipEventArgs)

    Raises the ActivateToolTip event.

    Declaration
    protected virtual void OnActivateToolTip(GridActivateToolTipEventArgs e)
    Parameters
    Type Name Description
    GridActivateToolTipEventArgs e

    A GridActivateToolTipEventArgs that contains the event data.

    OnMouseMove(MouseEventArgs)

    Overridden to call OnCellTipsMouseMove.

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgsthat contains event data.

    Overrides
    GridControlBase.OnMouseMove(MouseEventArgs)

    OnQueryAllowDragColumnHeader(GridQueryDragColumnHeaderEventArgs)

    Raises the OnQueryAllowDragColumnHeader(GridQueryDragColumnHeaderEventArgs) event.

    Declaration
    protected virtual void OnQueryAllowDragColumnHeader(GridQueryDragColumnHeaderEventArgs e)
    Parameters
    Type Name Description
    GridQueryDragColumnHeaderEventArgs e

    A GridQueryDragColumnHeaderEventArgs that contains the event data.

    Refresh(Boolean)

    Forces the control to invalidate its client area and immediately redraw itself and any child controls.

    Declaration
    protected override void Refresh(bool fromModel)
    Parameters
    Type Name Description
    System.Boolean fromModel

    True if the grid model needs to be refreshed.

    Overrides
    GridControlBase.Refresh(Boolean)

    RegisterDataObjectConsumer(IGridDataObjectConsumer)

    Registers a IGridDataObjectConsumer with the grid that can participate in an OLE Drop Target operation. If you want to add support for custom clipboard formats, you should create a class that implements IGridDataObjectConsumer and register it with RegisterDataObjectConsumer(IGridDataObjectConsumer).

    Declaration
    public void RegisterDataObjectConsumer(IGridDataObjectConsumer consumer)
    Parameters
    Type Name Description
    IGridDataObjectConsumer consumer

    An IGridDataObjectConsumer to be added to the internal collection of OLE Drop Target consumers.

    ResetMouseControllers()

    Resets all mouse controllers and removes them from MouseControllerDispatcher.

    Declaration
    protected override void ResetMouseControllers()
    Overrides
    GridControlBase.ResetMouseControllers()

    UnwireModel()

    Releases listeners for the GridModel.

    Declaration
    protected override void UnwireModel()
    Overrides
    GridControlBase.UnwireModel()

    WireModel()

    Sets up listeners for the GridModel and initializes mouse controllers and data object consumers.

    Declaration
    protected override void WireModel()
    Overrides
    GridControlBase.WireModel()

    Events

    ActivateToolTip

    Occurs when mouse has moved to a new cell and a ToolTip is initialized for that cell.

    Declaration
    public event GridActivateToolTipEventHandler ActivateToolTip
    Event Type
    Type Description
    GridActivateToolTipEventHandler
    Remarks

    You have two options:

    1. Set e.Style.CellTipText

    • Or -

    1. Initialize the ToolTip directly (see CellToolTip property) and then set e.Cancel = true;

    QueryAllowDragColumnHeader

    Occurs when the user hovers the mouse over a column header or clicks on it. In your event handler, you can determine if the selected column can be dragged.

    Declaration
    public event GridQueryDragColumnHeaderEventHandler QueryAllowDragColumnHeader
    Event Type
    Type Description
    GridQueryDragColumnHeaderEventHandler
    Remarks

    You can disallow dragging the column when you assign False to AllowDrag.

    See Also
    GridQueryDragColumnHeaderEventArgs

    Implements

    System.IDisposable
    ICancelModeProvider
    ISplitterPaneSupport
    IScrollBarWrapperContainer
    ISupportUpdating
    ISupportIntelliMouse
    IQueryFocusInside
    INonClientPaintingSupport
    IThemedControl
    ICreateNewWindow
    IGridModelSource
    IGridWindowlessSite
    IGridWindowlessObject
    IFindParentForm
    IThemeProvider
    IVisualStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved