In This Article

XmlDockSiteLayout Class

Represents the serializable root node for a DockSite layout.

public class XmlDockSiteLayout : XmlObjectBase
Inheritance:
object XmlObjectBase object

Constructors

XmlDockSiteLayout()

Initializes an instance of the class.

public XmlDockSiteLayout()

Properties

AutoHideContainers

The auto-hide containers of the dock site.

public XmlAutoHideContainers? AutoHideContainers { get; set; }

Property Value

XmlAutoHideContainers

Content

The content of the dock site.

public XmlObjectBase? Content { get; set; }

Property Value

XmlObjectBase

DockHosts

The collection of dock hosts.

public List<XmlDockHost> DockHosts { get; }

Property Value

List<XmlDockHost>:

The collection of dock hosts.

DocumentWindows

The collection of document windows.

public List<XmlDocumentWindow> DocumentWindows { get; }

Property Value

List<XmlDocumentWindow>

SerializationFormat

The serialization format used when saving the layout.

public DockSiteSerializationBehavior SerializationFormat { get; set; }

Property Value

DockSiteSerializationBehavior

ToolWindows

The collection of tool windows.

public List<XmlToolWindow> ToolWindows { get; }

Property Value

List<XmlToolWindow>

Version

The layout version.

public int Version { get; set; }

Property Value

int

Methods

ShouldSerializeDockHosts()

Determines if the DockHosts property should be serialized.

public virtual bool ShouldSerializeDockHosts()

Returns

bool:

true if the DockHosts property should be serialized; otherwise, false.

ShouldSerializeDocumentWindows()

Determines if the DocumentWindows property should be serialized.

public virtual bool ShouldSerializeDocumentWindows()

Returns

bool:

true if the DocumentWindows property should be serialized; otherwise, false.

ShouldSerializeToolWindows()

Determines if the ToolWindows property should be serialized.

public virtual bool ShouldSerializeToolWindows()

Returns

bool:

true if the ToolWindows property should be serialized; otherwise, false.

ShouldSerializeVersion()

Determines if the Version property should be serialized.

public virtual bool ShouldSerializeVersion()

Returns

bool:

true if the Version property should be serialized; otherwise, false.

Inherited Members

Extension Methods