In This Article

XmlDockHost Class

Represents a serializable version of a DockHost, used for saving to XML layout.

public class XmlDockHost : XmlDockingObject
Inheritance:
object XmlObjectBase XmlDockingObject object

Constructors

XmlDockHost()

Initializes an instance of the class.

public XmlDockHost()

Properties

AutoHideContainers

The auto-hide containers of the host.

public XmlAutoHideContainers? AutoHideContainers { get; set; }

Property Value

XmlAutoHideContainers

Content

The content of the host.

public XmlObjectBase? Content { get; set; }

Property Value

XmlObjectBase

FloatingWindowLocation

The location of the host.

public Point? FloatingWindowLocation { get; set; }

Property Value

Point?

See Also

  • ActiproSoftware.UI.Avalonia.Controls.Docking.DockHost.FloatingWindowLocation

FloatingWindowLocationSerializable

The location of the host, expressed as a string.

public string? FloatingWindowLocationSerializable { get; set; }

Property Value

string

FloatingWindowSize

The size of the host.

public Size FloatingWindowSize { get; set; }

Property Value

Size

See Also

  • ActiproSoftware.UI.Avalonia.Controls.Docking.DockHost.FloatingWindowSize

FloatingWindowSizeSerializable

The size of the host, expressed as a string.

public string FloatingWindowSizeSerializable { get; set; }

Property Value

string

FloatingWindowState

A value indicating the associated window's state.

public WindowState FloatingWindowState { get; set; }

Property Value

WindowState

See Also

  • ActiproSoftware.UI.Avalonia.Controls.Docking.DockHost.FloatingWindowState

UniqueId

The unique ID of the control.

public Guid UniqueId { get; set; }

Property Value

Guid

See Also

Methods

GetSerializerProperties()

Returns an enumerable of IXmlSerializerProperty instances which define the properties supported by serialization.

public override IEnumerable<IXmlSerializerProperty> GetSerializerProperties()

Returns

IEnumerable<IXmlSerializerProperty>

Remarks

When not using System.Xml.Serialization.XmlSerializer, derived classes should override this method to define additional properties that should be included by the serializer.

ShouldSerializeAutoHideContainers()

Determines if the AutoHideContainers property should be serialized.

public virtual bool ShouldSerializeAutoHideContainers()

Returns

bool:

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

ShouldSerializeUniqueId()

Determines if the UniqueId property should be serialized.

public virtual bool ShouldSerializeUniqueId()

Returns

bool:

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

Inherited Members

Extension Methods