In This Article

XmlToolWindow Class

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

public class XmlToolWindow : XmlDockingWindow
Inheritance:
object XmlObjectBase XmlDockingObject XmlDockingWindow object

Constructors

XmlToolWindow()

Initializes an instance of the class.

public XmlToolWindow()

Properties

ContainerAutoHideSize

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

public Size ContainerAutoHideSize { get; set; }

Property Value

Size

See Also

ContainerAutoHideSizeSerializable

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

public string ContainerAutoHideSizeSerializable { get; set; }

Property Value

string

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.

ShouldSerializeContainerAutoHideSizeSerializable()

Determines if the ContainerAutoHideSizeSerializable property should be serialized.

public virtual bool ShouldSerializeContainerAutoHideSizeSerializable()

Returns

bool:

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

Inherited Members

Extension Methods