RadDockZone
RadDockZone is a control which represents a virtual placeholder, where RadDock controls could be docked.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("DockZone")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadDockZone))]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Core))]
[RequiredScript(typeof(TouchScrollExtender))]
[RequiredScript(typeof(AnimationFramework))]
[ClientScriptResource("Telerik.Web.UI.RadDockZone", "Telerik.Web.UI.Dock.RadDockZone.js")]
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadDockZone), "Toolbox.Icons.Dock.png")]
public class RadDockZone : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadDockZone
Implements:
Inherited Members
Constructors
public RadDockZone()
Properties
Specifies the UniqueNames of the RadDock controls, that will be allowed to dock in the zone.
[TypeConverter(typeof(ListConverter))]
public string[] AllowedDocks { get; set; }
Gets a collection of the RadDock objects inside the RadDockZone. It will return an empty collection if there are no RadDocks in the zone.
public DockCollection Docks { get; }
Gets or sets a value, indicating whether the RadDockZone will set the size of the docked RadDock controls to 100% depending on its Orientation.
[ClientControlProperty]
public bool FitDocks { get; set; }
When Orientation is Horizontal, the Height of the docked RadDock controls will become 100%, otherwise the Width will become 100%.
Gets or sets a CSS class name, which will be applied when the RadDockZone is highlighted. If this property is not set, the control will not have a highlighted style.
[ClientControlProperty]
public string HighlightedCssClass { get; set; }
Gets or sets the minimum height of the RadDockZone control. The default value is "10px".
public virtual Unit MinHeight { get; set; }
Gets or sets the minimum width of the RadDockZone control. The default value is "10px".
public virtual Unit MinWidth { get; set; }
Gets or sets a value that specifies the dimension in which docked RadDock controls are arranged. If this property is not set the orientation will be vertical.
public virtual Orientation Orientation { get; set; }
Gets or sets the unique name of the control. If this property is not set, the control ID will be used instead. RadDockLayout will throw an exception if it finds two RadDockZone controls with the same UniqueName.
public string UniqueName { get; set; }
Methods
Returns the unique name for the dock, based on the UniqueName and the ID properties.
public string GetUniqueName()
A string, containing the UniqueName property of the dock, or its ID, if the UniqueName property is not set.