DXTabControl.RestoreLayoutFromXml(String) Method

Restores the layout of tab items from an XML file.

Namespace: DevExpress.Xpf.Core

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


public void RestoreLayoutFromXml(
    string path
Public Sub RestoreLayoutFromXml(
    path As String


Name Type Description
path String

An XML file from that contains the layout of tab items to be loaded.


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">
See Also