MVCxForbiddenZoneCollection Class

A collection of zones disallowed from the collection owner panel.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll


public class MVCxForbiddenZoneCollection :
Public Class MVCxForbiddenZoneCollection
    Inherits ForbiddenZoneCollection

Returned By

The DockPanelSettings.ForbiddenZones property returns an instance of MVCxForbiddenZoneCollection.


Each dock panel allows you to specify zones where the particular panel cannot be docked. Within dock panel, the zones are denoted by ForbiddenZoneItem objects, held within a collection, which is an instance of the MVCxForbiddenZoneCollection class, and can be accessed via the ForbiddenZones property. The properties and methods exposed by the MVCxForbiddenZoneCollection class can be used to perform collection operations, such as adding new or deleting existing items. An individual zone item can be accessed using indexer notation.

See Also