Saves the grid's layout.
[Visual Basic]
Overloads Public Sub SaveLayout( _
ByVal stream As Stream _
)
[C#]
public void SaveLayout(
Stream stream
);
[Delphi]
public procedure SaveLayout(
stream: Stream
); overload;
Parameters
stream
The Stream to contain the grid layout.
Example
The following code provides an example of the SaveLayout method:
Dim stm As New System.IO.FileStream("c:\temp\composers.xml", System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite)
Me.C1TrueDBGrid1.SaveLayout(stm)
· C#
System.IO.FileStream stm = new System.IO.FileStream(@"c:\temp\composers.xml", System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite);
this.c1TrueDBGrid1.SaveLayout(stm);
· Delphi
var stm : System.IO.FileStream;
stm := System.IO.FileStream.Create('c:\temp\composers.xml', System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite);
Self.C1TrueDBGrid1.SaveLayout(stm);
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.SaveLayout Overload List
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |