GridControl 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class GridControl : System::Windows::Forms::Control, Microsoft::ReportingServices::QueryDesigners::IGridControl, System::ComponentModel::ISupportInitialize
[System.ComponentModel.DefaultEvent("MouseButtonClicked")]
[System.ComponentModel.DefaultProperty("SelectionType")]
[System.ComponentModel.Designer("System.Windows.Forms.Design.ControlDesigner, System.Design")]
public class GridControl : System.Windows.Forms.Control, Microsoft.ReportingServices.QueryDesigners.IGridControl, System.ComponentModel.ISupportInitialize
[<System.ComponentModel.DefaultEvent("MouseButtonClicked")>]
[<System.ComponentModel.DefaultProperty("SelectionType")>]
[<System.ComponentModel.Designer("System.Windows.Forms.Design.ControlDesigner, System.Design")>]
type GridControl = class
inherit Control
interface ISupportInitialize
interface IGridControl
Public Class GridControl
Inherits Control
Implements IGridControl, ISupportInitialize
继承
派生
属性
实现
构造函数
字段
属性
方法
AddColumn(GridColumnInfo)
AddColumnInternal(GridColumnInfo)
AdjustColumnIndexesInSelectedCells(BlockOfCellsCollection, Boolean)
AdjustEmbeddedEditorBoundsForCustomColumn(Rectangle, Int32, Int64)
AdjustSelectionForButtonCellMouseClick()
AllocateBitmapColumn(GridColumnInfo, Int32, Int32)
AllocateButtonColumn(GridColumnInfo, Int32, Int32)
AllocateCheckBoxColumn(GridColumnInfo, Int32, Int32)
AllocateCustomColumn(GridColumnInfo, Int32, Int32)
AllocateGridPrinter()
AllocateHyperlinkColumn(GridColumnInfo, Int32, Int32)
AllocateTextColumn(GridColumnInfo, Int32, Int32)
AlwaysHighlightSelectionInt(Boolean)
BeginInit()
CalculateHeaderHeight(Font)
CalcValidColWidth(Int32)
CheckAndRePositionEmbeddedControlForSmallSizes()
CreateAccessibilityInstance()
DeleteColumn(Int32)
DeleteColumnInternal(Int32)
Dispose(Boolean)
DoCellPainting(Graphics, SolidBrush, SolidBrush, Font, Rectangle, GridColumn, Int64, Boolean)
DoCellPrinting(Graphics, SolidBrush, SolidBrush, Font, Rectangle, GridColumn, Int64)
EndInit()
EnsureCellIsVisible(Int64, Int32)
EnsureCellIsVisibleInternal(Int64, Int32)
GetAccessibilityObjectById(Int32)
GetButtonCellState(Int64, Int32)
GetCellFont(Int64, GridColumn)
GetCellGDIObjects(GridColumn, Int64, Int32, SolidBrush, SolidBrush)
GetCellStringForResizeToShowAll(Int64, Int32, StringFormat)
GetCellStringForResizeToShowAll(Int64, Int32, TextFormatFlags)
GetColumnWidth(Int32)
GetColumnWidthInternal(Int32)
GetCurrentCell(Int64, Int32)
GetCustomColumnStringForClipboardText(Int64, Int32)
GetDataObject(Boolean)
GetDataObjectInternal(Boolean)
GetGridColumnInfo(Int32)
GetHeaderInfo(Int32, String, Bitmap)
GetHeaderInfo(Int32, String, GridCheckBoxState)
GetHeaderInfoInternal(Int32, String, Bitmap, GridCheckBoxState)
GetMinWidthOfColumn(Int32)
GetRegisteredEmbeddedControl(Int32)
GetStorageColumnIndexByUIIndex(Int32)
GetTextBasedColumnStringForClipboardText(Int64, Int32)
GetUIColumnIndexByStorageIndex(Int32)
GetVisibleCellRectangle(Int64, Int32)
GraphicsFromHandle()
HandleButtonLBtnDown()
HandleButtonLBtnUp(Int32, Int32)
HandleButtonMouseMove(Int32, Int32)
HandleButtonMouseMoveWhileDraggingHeader(Int32, Int32)
HandleColResizeLBtnDown()
HandleColResizeLBtnUp(Int32, Int32)
HandleColResizeMouseMove(Int32, Int32, Boolean)
HandleCustomCellDoubleClick(Keys, MouseButtons)
HandleCustomCellMouseBtnDown(Keys, MouseButtons)
HandleCustomCellMouseBtnUp(Int32, Int32, MouseButtons)
HandleCustomCellMouseMove(Int32, Int32, MouseButtons)
HandleHeaderButtonMouseMove(Int32, Int32)
HandleKeyboard(KeyEventArgs)
HandleStdCellLBtnDown(Keys)
HandleStdCellLBtnMouseMove(Int32, Int32)
HandleStdCellLBtnUp(Int32, Int32)
HandleTabOnLastOrFirstCell(Boolean)
HitTest(Int32, Int32)
HitTestGridButton(Int64, Int32, Rectangle, Point)
HitTestInternal(Int32, Int32)
InsertColumn(Int32, GridColumnInfo)
InsertColumnInternal(Int32, GridColumnInfo)
IsACellBeingEdited(Int64, Int32)
IsACellBeingEditedInternal(Int64, Int32)
IsCellEditableFromKeyboardNav()
IsCellVisible(Int32, Int64)
IsColumnHeaderDraggable(Int32)
IsInputChar(Char)
MeasureWidthOfCustomColumnRows(Int32, Int32, Int64, Int64, Graphics)
MeasureWidthOfRows(Int32, Int32, Int64, Int64, Graphics)
NotifyAccAboutNewSelection(Boolean, Boolean)
OnBackColorChanged(EventArgs)
OnBeforeGetClipboardTextForCells(StringBuilder, Int64, Int64, Int32, Int32)
OnCanInitiateDragFromCell(Int64, Int32)
OnColumnsReordered(Int32, Int32)
OnColumnWasReordered(Int32, Int32)
OnColumnWidthChanged(Int32, Int32)
OnEmbeddedControlContentsChanged(IGridEmbeddedControl)
OnEmbeddedControlLostFocus()
OnEnabledChanged(EventArgs)
OnFontChanged(EventArgs)
OnGotFocus(EventArgs)
OnGridSpecialEvent(Int32, Object, HitTestResult, Int64, Int32, Rectangle, MouseButtons, GridButtonArea)
OnHandleCreated(EventArgs)
OnHandleDestroyed(EventArgs)
OnHeaderButtonClicked(Int32, MouseButtons, GridButtonArea)
OnKeyDown(KeyEventArgs)
OnKeyPress(KeyPressEventArgs)
OnKeyPressedOnCell(Int64, Int32, Keys, Keys)
OnKeyUp(KeyEventArgs)
OnLostFocus(EventArgs)
OnMouseButtonClicked(Int64, Int32, Rectangle, MouseButtons)
OnMouseButtonClicking(Int64, Int32, Rectangle, Keys, MouseButtons)
OnMouseButtonDoubleClicked(HitTestResult, Int64, Int32, Rectangle, MouseButtons, GridButtonArea)
OnMouseDown(MouseEventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnMouseWheel(MouseEventArgs)
OnMouseWheelInEmbeddedControl(MouseEventArgs)
OnPaint(PaintEventArgs)
OnParentChanged(EventArgs)
OnParentFontChanged(EventArgs)
OnResetFirstScrollableColumn(Int32, Int32)
OnRightToLeftChanged(EventArgs)
OnSelectionChanged(BlockOfCellsCollection)
OnSizeChanged(EventArgs)
OnStandardKeyProcessing(KeyEventArgs)
OnStartCellDragOperation()
OnStartedCellEdit()
OnStoppedCellEdit()
OnTooltipDataNeeded(HitTestResult, Int64, Int32, String)
PaintCurrentCellRect(Graphics, Rectangle)
PaintEmptyGrid(Graphics)
PaintGrid(Graphics)
PaintGridBackground(Graphics)
PaintHeader(Graphics)
PaintHeaderHelper(Graphics, Int32, Int32, Int32, Int32)
PaintHeaderHelper(Graphics, Int32, Int32, Int32, Int32, Boolean)
PaintHorizGridLines(Graphics, Int64, Int32, Int32, Int32, Boolean)
PaintOneCell(Graphics, Int32, Int64, Int32, Int64, Rectangle, Rectangle, Rectangle)
PaintVertGridLines(Graphics, Int32, Int32, Int32, Int32, Int32)
PositionEmbeddedEditor(Rectangle, Int32)
ProcessDialogKey(Keys)
ProcessForTooltip(HitTestResult, Int64, Int32)
ProcessHomeEndKeys(Boolean, Keys)
ProcessKeyPreview(Message)
ProcessLeftRightKeys(Boolean, Keys, Boolean)
ProcessLeftRightUpDownKeysForBlockSel(Keys)
ProcessPageUpDownKeys(Boolean, Keys)
ProcessUpDownKeys(Boolean, Keys)
RegisterEmbeddedControl(Int32, Control)
RegisterEmbeddedControlInternal(Int32, Control)
ResetGrid()
ResetGridInternal()
ResetHeaderFont()
ResizeColumnToShowAllContents(Int32)
ResizeColumnToShowAllContents(Int32, Boolean)
ResizeColumnToShowAllContentsInternal(Int32)
ResizeColumnToShowAllContentsInternal(Int32, Boolean)
SelectedCellsInternal(BlockOfCellsCollection, Boolean)
SendMouseClickToEmbeddedControl()
SetBitmapsForCheckBoxColumn(Int32, Bitmap, Bitmap, Bitmap, Bitmap)
SetColumnWidth(Int32, GridColumnWidthType, Int32)
SetColumnWidthInternal(Int32, GridColumnWidthType, Int32)
SetCursorForCustomCell(Int64, Int32, Rectangle)
SetCursorFromHitTest(HitTestResult, Int64, Int32, Rectangle)
SetHeaderInfo(Int32, String, Bitmap)
SetHeaderInfo(Int32, String, GridCheckBoxState)
SetHeaderInfoInternal(Int32, String, Bitmap, GridCheckBoxState)
SetMergedHeaderResizeProportion(Int32, Single)
SetMergedHeaderResizeProportionInternal(Int32, Single)
ShouldSerializeHeaderFont()
StartCellEdit(Int64, Int32)
StartCellEditInternal(Int64, Int32)
StopCellEdit(Boolean)
StopCellEditInternal(Boolean)
UpdateGrid()
UpdateGrid(Boolean)
UpdateGridInternal(Boolean)
WndProc(Message)
事件
适用于