Skip to main content
All docs
V26.1
  • 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.

    0

    False

    The value is false.

    1

    Default

    The value is specified by a global option or a higher-level object.

    2

    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). Fill and None dock styles are not supported.
    • When UseDefaultPadding is false, the resize zone is unavailable.
    See Also