Back to Devexpress

ASPxDockPanel.AllowedDockState Property

aspnet-devexpress-dot-web-dot-aspxdockpanel-44107d7d.md

latest2.1 KB
Original Source

ASPxDockPanel.AllowedDockState Property

Gets or sets a value that specifies what states are allowed for the panel

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(AllowedDockState.All)]
public AllowedDockState AllowedDockState { get; set; }
vb
<DefaultValue(AllowedDockState.All)>
Public Property AllowedDockState As AllowedDockState

Property Value

TypeDefaultDescription
AllowedDockStateAll

One of the AllowedDockState enumeration values.

|

Available values:

NameDescription
All

A panel can be in either the docked or floating state.

| | DockedOnly |

A panel can only be docked. If the panel is initially floating (the owner zone is not defined) an end-user can drag it until the panel is docked for the first time. After that, it can be only moved between zones programmatically.

| | FloatOnly |

A panel cannot be docked. In this case, the setting of an owner zone is not in effect.

|

Remarks

Set the AllowedDockState property, to specify what states are allowed for the panel: only docked, only float or both.

See Also

Panel Overview

Docking

Online Demo: Docking - Server-Side Functionality

ASPxDockPanel Class

ASPxDockPanel Members

DevExpress.Web Namespace