New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents a object that unifies the most important properties of the RadDock class, for easier saving and restoring the state of a RadDock. Each property of this class corresponds to a property in the RadDock class.

Definition

Constructors

Creates a new instance of the DockState class.

C#
public DockState()

Properties

Gets or sets a value, indicating whether the RadDock control is closed (style="display:none;"). This property is used to save and restore the value of the Closed property of the RadDock class.

C#
public bool Closed { get; set; }

Gets or sets a value, indicating whether the RadDock control is collapsed. This property is used to save and restore the value of the Collapsed property of the RadDock class.

C#
public bool Collapsed { get; set; }

Gets or sets the ClientID of the RadDockZone, where the RadDock control is docked. This property is used to save and restore the value of the DockZoneID property of the RadDock class.

C#
public string DockZoneID { get; set; }

Gets or sets the height of the RadDock control when it is expanded. This property is used to save and restore the value of the ExpandedHeight property of the RadDock class.

C#
public int ExpandedHeight { get; set; }

Gets or sets the height of the RadDock control. This property is used to save and restore the value of the Height property of the RadDock class.

C#
public Unit Height { get; set; }

Gets the position of the RadDock control in its parent zone. If undocked returns -1. This property is used to save and restore the value of the Index property of the RadDock class.

C#
public int Index { get; set; }

Gets or sets the horizontal position of the RadDock control in pixels. This property is used to save and restore the value of the Left property of the RadDock class.

C#
public Unit Left { get; set; }

Gets or sets a value, indicating whether the RadDock control is pinned. This property is used to save and restore the value of the Pinned property of the RadDock class.

C#
public bool Pinned { get; set; }

Gets or sets a value, indicating whether the RadDock control is resizable. This property is used to save and restore the value of the Resizable property of the RadDock class.

C#
public bool Resizable { get; set; }

Gets or sets the additional data associated with the RadDock control. This property is used to save and restore the value of the Tag property of the RadDock class.

C#
public string Tag { get; set; }

Gets or sets the text which will appear in the RadDock control content area. This property is used to save and restore the value of the Text property of the RadDock class.

C#
public string Text { get; set; }

Gets or sets the text which will appear in the RadDock control titlebar area. This property is used to save and restore the value of the Title property of the RadDock class.

C#
public string Title { get; set; }

Gets or sets the vertical position of the RadDock control in pixels. This property is used to save and restore the value of the Top property of the RadDock class.

C#
public Unit Top { get; set; }

Gets or sets the unique name of the RadDock control, which allows the parent RadDockLayout to automatically manage its position. If this property is not set, the control ID will be used instead. RadDockLayout will throw an exception if it finds two RadDock controls with the same UniqueName. This property is used to save and restore the value of the UniqueName property of the RadDock class.

C#
public string UniqueName { get; set; }

Gets or sets the width of the RadDock control. This property is used to save and restore the value of the Width property of the RadDock class.

C#
public Unit Width { get; set; }

Methods

Deserializes the input string, and creates the corresponding DockState object.

C#
public static DockState Deserialize(string input)
Parameters:inputstring

The string to deserialize.

Returns:

DockState

The deserialized DockState object that corresponds to the input string.

Serializes the current DockState object. The resulting string can be deserialized using the Deserialize(string) static method, and the identical object recreated.

C#
public override string ToString()
Returns:

string

Serialized string that can be later used to recreate the same DockState object.

Overrides: object.ToString()