Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomTreeView.SaveToStream(TStream,TEncoding) Method

Saves node captions and positions in the Tree View control to the specified stream.

#Declaration

Delphi
procedure SaveToStream(AStream: TStream; AEncoding: TEncoding); overload;

#Parameters

Name Type Description
AStream TStream

A target stream.

AEncoding TEncoding

The specified stream’s encoding.

#Remarks

Note

The SaveToStream procedure is intended to be backward compatible with the TTreeView control. To save all Tree View settings to the specified file, call the SaveDataToStream procedure.

You can call a LoadFromStream procedure to load node captions and positions from a stream in plain text format. The LoadDataFromStream procedure does not support streams created by a SaveToStream procedure call.

See Also