RoundedSkinPanel.AllowResize Property
Gets or sets whether a user can drag the RoundedSkinPanel‘s border to resize its content area.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v26.1.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowResize { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default | A DefaultBoolean enumeration value that specifies whether a user can drag the RoundedSkinPanel border to resize its content area. |
Available values:
| Name | Description | Return Value |
|---|---|---|
| True | The value is true. |
|
| False | The value is false. |
|
| Default | The value is specified by a global option or a higher-level object. |
|
Remarks
Set this property to DefaultBoolean.True to let users drag the panel’s border edge to resize
it at runtime. Resizing is available when the panel is docked to one side —
DockStyle.Left, DockStyle.Right, DockStyle.Top, or DockStyle.Bottom.
The width (or height) of the interactive resize zone is controlled by the
OverlayResizeZoneThickness
property (default: 10 px, DPI-scaled). The drag operation respects the panel’s
MinimumSize and
MaximumSize constraints.
Right-to-left layouts are supported: hit-testing is mirrored automatically for Left- and Right-docked panels
when RightToLeft
is set to Yes.
Child controls that overlap the resize zone are handled transparently — they do not block the resize cursor or drag gesture. Controls added after the panel is created are handled automatically.
Notes
- Resizing is only supported for single-axis dock positions (
Left,Right,Top,Bottom).FillandNonedock styles are not supported. - When UseDefaultPadding is
false, the resize zone is unavailable.