共用方式為


Grid Control Properties, Methods and Events

Properties

ActiveColumn ActiveRow AllowAddNew
AllowHeaderSizing AllowRowSizing Application
BackColor BaseClass ChildOrder
ClassLibrary Class ColumnCount
Columns Comment DeleteMark
DragIcon DragMode Enabled
FontBold FontCondense FontExtend
FontItalic FontName FontOutline
FontShadow FontSize FontStrikeThru
FontUnderline ForeColor GridLineColor
GridLines GridLineWidth HeaderHeight
Height HelpContextID HighLight
HighLightRow HighlightRowLineWidth LeftColumn
Left LinkMaster MouseIcon
MousePointer Name OLEDragMode
OLEDragPicture OLEDropEffects OLEDropHasData Property
OLEDropMode PanelLink Panel
ParentClass Parent Partition
ReadOnly RecordMark RecordSource
RecordSourceType RelationalExpr RelativeColumn
RelativeRow RightToLeft RowColChange
RowHeight ScrollBars SelectedBackColor, SelectedForeColor
SplitBar StatusBarText TabIndex
TabStop Tag ToolTipText
Top Value View
Visible WhatsThisHelpID Width

Events

AfterRowColChange BeforeRowColChange Click
DblClick Deleted Destroy
DragDrop DragOver Error
Init MiddleClick Event MouseDown
MouseEnter MouseLeave MouseMove
MouseUp MouseWheel OLECompleteDrag
OLEDragDrop OLEDragOver OLEGiveFeedBack
OLESetData OLEStartDrag Resize
RightClick Moved Scrolled
UIEnable Valid When

Methods

ActivateCell AddColumn AddObject
AddProperty CloneObject DeleteColumn
DoScroll Drag GridHitTest
Move OLEDrag ReadExpression
ReadMethod Refresh RemoveObject
ResetToDefault SaveAsClass SetAll
SetFocus WriteExpression WriteMethod
Zorder    

See Also

Grid Control | Objects Collection