Back to Devexpress

TdxCustomTreeView.LoadDataFromFile(string) Method

vcl-dxtreeview-dot-tdxcustomtreeview-dot-loaddatafromfile-x28-system-dot-string-x29.md

latest1.1 KB
Original Source

TdxCustomTreeView.LoadDataFromFile(string) Method

Loads all Tree View settings from the specified file.

Declaration

delphi
procedure LoadDataFromFile(const AFileName: string);

Parameters

NameTypeDescription
AFileNamestring

A source file name.

|

Remarks

The LoadDataFromFile procedure loads the Tree View structure and values of all node properties for each node.

A LoadDataFromFile procedure call raises an exception if the loaded information is not valid.

Note

You can call a SaveDataToFile procedure to save the Tree View structure and settings to a file. The LoadDataFromFile procedure does not support files created by a SaveToFile procedure call.

See Also

TdxCustomTreeView Class

TdxCustomTreeView Members

dxTreeView Unit