Skip to main content

BaseView.CustomResizeZoneThickness Property

Gets or sets the resize zone thickness.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public int CustomResizeZoneThickness { get; set; }

Property Value

Type Default Description
Int32 0

An Int32 value that is the resize zone thickness. 0 to use the thickness specified in the current skin.

Remarks

When end-users hover over a document resize zone, the cursor changes its icon and users can start dragging a document to resize it. By default, this thickness depends on the currently applied DevExpress skin and the availability of Touch UI Mode (see the WindowsFormsSettings.TouchUIMode property). You can use the CustomResizeZoneThickness property to manually increase or decrease the thickness of this zone. The following figure illustrates a document whose resize zone (highlighted in red) has an increased thickness of 20 pixels.

Docking - Resize Zone Thickness

In the “Light” View style (see the BaseView.Style property), Documents have 1-pixel borders and changing the CustomResizeZoneThickness property does not visually increase paddings. However, you can still utilize this property to prevent end-users from accidentally clicking controls inside the Documents during resizing. See the “Overlay Resizing” section of the Side Panel document to learn more.

See Also