In This Article

XmlSplitContainer Class

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

public class XmlSplitContainer : XmlDockingObject
Inheritance:
object XmlObjectBase XmlDockingObject object

Constructors

XmlSplitContainer()

Initializes an instance of the class.

public XmlSplitContainer()

Properties

Children

The collection of children.

public List<XmlObjectBase> Children { get; }

Property Value

List<XmlObjectBase>

DockedSize

The size of the control when in a Docked state.

public Size DockedSize { get; set; }

Property Value

Size

DockedSizeSerializable

The size of the control when in a Docked state, expressed as a string.

public string DockedSizeSerializable { get; set; }

Property Value

string

Orientation

The orientation of the container.

public Orientation Orientation { get; set; }

Property Value

Orientation

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.

ShouldSerializeDockedSizeSerializable()

Determines if the DockedSizeSerializable property should be serialized.

public virtual bool ShouldSerializeDockedSizeSerializable()

Returns

bool:

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

Inherited Members

Extension Methods