Back to Devexpress

ASPxClientDockManager.GetZoneByUID(zoneUID) Method

aspnet-js-aspxclientdockmanager-dot-getzonebyuid-x28-zoneuid-x29.md

latest1.5 KB
Original Source

ASPxClientDockManager.GetZoneByUID(zoneUID) Method

Returns a zone specified by its unique identifier (zoneUID).

Declaration

ts
GetZoneByUID(
    zoneUID: string
): ASPxClientDockZone

Parameters

NameTypeDescription
zoneUIDstring

A string value specifying the unique identifier of the zone.

|

Returns

TypeDescription
ASPxClientDockZone

An ASPxClientDockZone object that is the zone with the specified unique identifier.

|

Remarks

An ASPxDockManager control’s client-side functionality allows an individual zone to be accessed programmatically. The GetZoneByUID method gets a client zone object specified by its unique identifier. A zone’s UID is defined by the ZoneUID property.

This method searches the specified zone amongst all zones in a page. Note that if an invalid zone UID is passed via the parameter, this method returns null.

Example

javascript
var panel = manager.GetPanelByUID('MyPanel');
panel.Dock(manager.GetZoneByUID('MyZone'),0);

See Also

GetPanelByUID(panelUID)

zoneUID

Docking

ASPxClientDockManager Class

ASPxClientDockManager Members