General Information
.NET Subscription
Desktop
Web
Controls and Extensions
Mainteinance Mode
Enterprise and Analytic Tools
Quality Assurance and Productivity
Frameworks and Libraries
All docs
V19.2
General Information
.NET Subscription
Desktop
Web
Controls and Extensions
Mainteinance Mode
Enterprise and Analytic Tools
Quality Assurance and Productivity
Frameworks and Libraries
19.2
19.1
18.2
18.1
17.2
ASPxClientDockPanel.Dock(zone) Method
Docks the current panel in a zone at the specified position.
Declaration
Dock(zone: ASPxClientDockZone, visibleIndex?: number): void
Parameters
Name | Type | Description |
---|---|---|
zone | ASPxClientDockZone | An ASPxClientDockZone object specifying the zone, where the panel is docked |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
visibleIndex | number | null | An integer value specifying the visible index position. |
Remarks
Use the client-side Dock method to dock a panel at the specified position in the zone. You can obtain the dock state on the client side via the ASPxClientDockPanel.IsDocked method. To undock a panel, use the ASPxClientDockPanel.MakeFloat method.
Note that this method does not invoke the BeforeDock and AfterDock events.
Examples
var panel = manager.GetPanelByUID('MyPanel');
panel.Dock(manager.GetZoneByUID('MyZone'),0);
See Also
Feedback