DXTabControl.RestoreLayoutFromStream(Stream) Method
SECURITY NOTE
Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.
Restores the layout of tab items from a stream.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A stream from which the layout of tab items is restored. |
Remarks
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