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.
Content
The content of the host.
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.
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.
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.
Methods
GetSerializerProperties()
Returns an enumerable of IXmlSerializerProperty instances which define the properties supported by serialization.
public override IEnumerable<IXmlSerializerProperty> GetSerializerProperties()
Returns
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:
trueif the AutoHideContainers property should be serialized; otherwise,false.
ShouldSerializeUniqueId()
Determines if the UniqueId property should be serialized.
public virtual bool ShouldSerializeUniqueId()
Returns
Inherited Members
- XmlObjectBase.PointToString(Point?)
- XmlObjectBase.RectToString(Rect?)
- XmlObjectBase.SizeToString(Size?)
- XmlObjectBase.StringToPoint(string)
- XmlObjectBase.StringToRect(string)
- XmlObjectBase.StringToSize(string)
- XmlObjectBase.StringToType(string)
- XmlObjectBase.TypeToString(Type)
- XmlObjectBase.Tag
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()