BaseView.CustomResizeZoneThickness Property

Gets or sets the resize zone thickness.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public int CustomResizeZoneThickness { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Property CustomResizeZoneThickness As Integer

Property Value

Type Default Description
Int32

0

An Int32 value that is the resize zone thickness.

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