ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.LoadLayout Method (String)

Loads a saved layout from the given file.

[Visual Basic]

Overloads Public Sub LoadLayout( _

ByVal filename As String _

)

[C#]

public void LoadLayout(

string filename

);

[Delphi]

public procedure LoadLayout(

filename: String

); overload;

Parameters

filename

The file containing a saved layout.

Example

The following code loads a saved layout from a given file:

·      Visual Basic

       Me.C1TrueDBGrid1.LoadLayout("c:\temp\composers.xml")

·      C#

       this.c1TrueDBGrid1.LoadLayout("c:\temp\composers.xml");

·      Delphi

       Self.C1TrueDBGrid1.LoadLayout('c:\temp\composers.xml');

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.LoadLayout Overload List


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.