Skip to main content

DockZoneStyles.DockingForbiddenStyle Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public AppearanceSelectedStyle DockingForbiddenStyle { 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 for docking. Use the DockingForbiddenStyle property to specify the zone’s appearance, when docking is disallowed. To specify the zone’s appearance when docking is allowed, use the DockZoneStyles.DockingAllowedStyle property. You can specify an appearance of a zone section where the panel can be docked, via DockZoneStyles.PanelPlaceholder 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