Tab

DockZoneStyles.DockingForbiddenStyle Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public AppearanceSelectedStyle DockingForbiddenStyle { get; }

Property Value

Type Description
AppearanceSelectedStyle

An AppearanceSelectedStyle object that contains the style settings.

Remarks

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.

Example

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