Skip to main content

DXTabControl.SaveLayoutToStream(Stream) Method

Saves the layout of tab items to a stream.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public void SaveLayoutToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A stream to which the layout is stored.

Remarks

The saved layout can be restored using the DXTabControl.RestoreLayoutFromStream method.

The DXTabControl supports serialization/deserialization in unbound mode only, and this functionality is disabled by default. To enable it, it is necessary to explicitly set the dx:DXSerializer.Enabled attached property to true for your DXTabControl.

<dx:DXTabControl dx:DXSerializer.Enabled="True">
...
</dx:DXTabControl>
See Also