Gets or sets the layout by which the grid will display data.
[Visual Basic]
Public Property DataView As DataViewEnum
[C#]
public DataViewEnum DataView {get;set;}
[Delphi]
public property DataView: DataViewEnum read get_DataView write set_DataView;
Example
The following code sets the DataView of the grid to DataViewEnum.Form:
Me.C1TrueDBGrid1.DataView = C1.Win.C1TrueDBGrid.DataViewEnum.Form
· C#
this.c1TrueDBGrid1.DataView = C1.Win.C1TrueDBGrid.DataViewEnum.Form;
· Delphi
Self.C1TrueDBGrid1.DataView := C1.Win.C1TrueDBGrid.DataViewEnum.Form;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |