Skip to main content

TdxControlFrameDragOptions.AutoDetectBorders Property

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

Declaration

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