Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxControlFrameDragOptions.AutoDetectBorders Property

Specifies if the framed control automatically identifies which borders are draggable based on its alignment.

#Declaration

Delphi
property AutoDetectBorders: Boolean read; write; default True;

#Property Value

Type Default Description
Boolean True

If True, the control determines the draggable borders based on its Align property value. Refer to the table below for details. If False, the Borders property value specifies the draggable borders.

#Remarks

The framed control automatically determines which borders are draggable based on its alignment according to the following table if the AutoDetectBorders property is set to True:

Alignment[1] Draggable Borders
alLeft The right border only.
alTop The bottom border only.
alRight The left border only.
alBottom The top border only.
alClient No borders.
alNone All borders.

Note

You can use the Borders property to explicitly specify additional draggable borders, even if the AutoDetectBorders property is set to True.

The AutoDetectBorders property’s default value is True.

Footnotes
  1. The framed control’s Align property value.

See Also