In This Article

XmlDockingWindow Class

Represents a serializable version of the DockingWindow class, used for saving to XML layout.

public abstract class XmlDockingWindow : XmlDockingObject
Inheritance:
object XmlObjectBase XmlDockingObject object
Derived:
XmlDocumentWindow XmlToolWindow

Constructors

XmlDockingWindow()

Initializes an instance of the class.

protected XmlDockingWindow()

Properties

ContainerDockedSize

The size of the docking window's container when in a Docked state.

public Size ContainerDockedSize { get; set; }

Property Value

Size

See Also

ContainerDockedSizeSerializable

The size of the docking window's container when in a Docked state, expressed as a string.

public string ContainerDockedSizeSerializable { get; set; }

Property Value

string

IsOpen

Whether the window is open.

public bool IsOpen { get; set; }

Property Value

bool:

true if the window is open; otherwise, false.

See Also

LastActiveDateTime

The DateTime at which the window was last active, meaning the primary window that was focused.

public DateTime LastActiveDateTime { get; set; }

Property Value

DateTime

See Also

Name

Te name of the window.

public string? Name { get; set; }

Property Value

string

SerializationId

The serialization ID of the window.

public string? SerializationId { get; set; }

Property Value

string

See Also

StandardMdiBounds

The current bounds of the window in standard MDI.

public Rect? StandardMdiBounds { get; set; }

Property Value

Rect?

See Also

StandardMdiBoundsSerializable

The current bounds of the window in standard MDI, expressed as a string.

public string? StandardMdiBoundsSerializable { get; set; }

Property Value

string

StandardMdiWindowState

The standard MDI state of the window.

public WindowState StandardMdiWindowState { get; set; }

Property Value

WindowState

See Also

State

The current state of the window.

public DockingWindowState State { get; set; }

Property Value

DockingWindowState

See Also

TabbedMdiLayoutKind

The tab layout kind.

public TabLayoutKind TabbedMdiLayoutKind { get; set; }

Property Value

TabLayoutKind

See Also

Type

The type of the associated control.

public Type? Type { get; set; }

Property Value

Type

TypeSerializable

The type of the associated control.

public string? TypeSerializable { get; set; }

Property Value

string

UniqueId

The unique ID of the window.

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.

ShouldSerializeContainerDockedSizeSerializable()

Determines if the ContainerDockedSizeSerializable property should be serialized.

public virtual bool ShouldSerializeContainerDockedSizeSerializable()

Returns

bool:

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

ShouldSerializeLastActiveDateTime()

Determines if the LastActiveDateTime property should be serialized.

public virtual bool ShouldSerializeLastActiveDateTime()

Returns

bool:

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

ShouldSerializeName()

Determines if the Name property should be serialized.

public virtual bool ShouldSerializeName()

Returns

bool:

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

ShouldSerializeSerializationId()

Determines if the SerializationId property should be serialized.

public virtual bool ShouldSerializeSerializationId()

Returns

bool:

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

ShouldSerializeStandardMdiBoundsSerializable()

Determines if the StandardMdiBoundsSerializable property should be serialized.

public virtual bool ShouldSerializeStandardMdiBoundsSerializable()

Returns

bool:

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

ShouldSerializeStandardMdiWindowState()

Determines if the StandardMdiWindowState property should be serialized.

public virtual bool ShouldSerializeStandardMdiWindowState()

Returns

bool:

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

ShouldSerializeTabbedMdiLayoutKind()

Determines if the TabbedMdiLayoutKind property should be serialized.

public virtual bool ShouldSerializeTabbedMdiLayoutKind()

Returns

bool:

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

ShouldSerializeTypeSerializable()

Determines if the TypeSerializable property should be serialized.

public virtual bool ShouldSerializeTypeSerializable()

Returns

bool:

true if the TypeSerializable 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