Skip to main content
All docs
V26.1
  • 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
    True
    Default. The control determines draggable borders based on its Align property value. Refer to the table below for details.
    False
    The Borders property value specifies 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.

    Default Value

    The AutoDetectBorders property’s default value is True.

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

    See Also