DockPanelOptions.ResizeDirection Property

Gets or sets the borders at which the current dock panel can be resized using the mouse.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(ResizeDirection.All)]
public ResizeDirection ResizeDirection { get; set; }
<XtraSerializableProperty>
<DefaultValue(ResizeDirection.All)>
Public Property ResizeDirection As ResizeDirection

Property Value

Type Default Description
DevExpress.XtraBars.Docking.Helpers.ResizeDirection

All

A ResizeDirection enumeration value that specifies the borders at which the current dock panel can be resized using the mouse.

Property Paths

You can access this nested property as listed below:

Show 24 property paths
Library Object Type Path to ResizeDirection
WinForms Controls FieldListDockPanel
.Options.ResizeDirection
ReportExplorerDockPanel
.Options.ResizeDirection
DockPanel
.Options.ResizeDirection
PanAndZoomDockPanel
.Options.ResizeDirection
Reporting DesignDockPanel
.Options.ResizeDirection
DesignDockPanel
.Options.ResizeDirection
ErrorListDockPanel
.Options.ResizeDirection
ErrorListDockPanel
.Options.ResizeDirection
FieldListDockPanel
.Options.ResizeDirection
FieldListDockPanel
.Options.ResizeDirection
GroupAndSortDockPanel
.Options.ResizeDirection
GroupAndSortDockPanel
.Options.ResizeDirection
PropertyGridDockPanel
.Options.ResizeDirection
PropertyGridDockPanel
.Options.ResizeDirection
ReportExplorerDockPanel
.Options.ResizeDirection
ReportExplorerDockPanel
.Options.ResizeDirection
ReportGalleryDockPanel
.Options.ResizeDirection
ReportGalleryDockPanel
.Options.ResizeDirection
ToolBoxDockPanel
.Options.ResizeDirection
ToolBoxDockPanel
.Options.ResizeDirection
TreeViewDesignDockPanel
.Options.ResizeDirection
TreeViewDesignDockPanel
.Options.ResizeDirection
TypedDesignDockPanel
.Options.ResizeDirection
TypedDesignDockPanel
.Options.ResizeDirection

Remarks

When an end-user hovers over a border or corner of a dock panel with the mouse pointer, the pointer changes its view to a double-headed arrow indicating that the current panel can be resized. See the figure below.

DockManager_ResizeDirections

By default, a dock panel can be resized at all its borders and corners. The ResizeDirection property allows you to customize at which borders the current dock panel can be resized using the mouse. The ResizeDirection enumeration provides the Left, Right, Top and Bottom flags, each of which specifies that the dock panel can be resizes by dragging the corresponding panel border. Note that the ResizeDirection enumeration supports bitwise combinations of its flags. If a flag is not enabled, the mouse pointer does not change its view when it is hovered over the corresponding panel border, and the resize operation cannot be performed.

To manage the panel resizing feature in a centralized way, you can also handle the DockManager.CreateResizeZone event.

See Also