Back to Devexpress

DXTabControl.SaveLayoutToStream(Stream) Method

wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-dot-savelayouttostream-x28-system-dot-io-dot-stream-x29.md

latest1.7 KB
Original Source

DXTabControl.SaveLayoutToStream(Stream) Method

Saves the layout of tab items to a stream.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public void SaveLayoutToStream(
    Stream stream
)
vb
Public Sub SaveLayoutToStream(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

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.

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

See Also

DXTabControl Class

DXTabControl Members

DevExpress.Xpf.Core Namespace