Skip to main content

DockZoneStyles.DockingAllowedStyle Property

Gets the style settings defining a zone‘s appearance, if the docking is available.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public AppearanceSelectedStyle DockingAllowedStyle { get; }

Property Value

Type Description

An AppearanceSelectedStyle object that contains the style settings.


When you drag a panel, zones can be highlighted, to show which of them are allowed or disallowed from docking. Use the DockingAllowedStyle property to specify the zone’s appearance, when docking is allowed. You can specify an appearance of a zone section where the panel can be docked, via the DockZoneStyles.PanelPlaceholder property. To specify the zone’s appearance when docking is disallowed, use the DockZoneStyles.DockingForbiddenStyle property.


<dx:ASPxDockZone runat="server" ID="ASPxDockZone1" CssClass="verticalZone first" ZoneUID="zone1" PanelSpacing="3px" Width="240px" Height="433px">
          <DockingAllowedStyle BackColor="#D6F0CE">
               <Border BorderColor="#AECDA7" BorderStyle="Solid" BorderWidth="1" />
          <DockingForbiddenStyle BackColor="#FADADA">
               <Border BorderColor="#EDBFBF" BorderStyle="Solid" BorderWidth="1" />
See Also