Back to Devexpress

TdxAutoSizeMode Enum

vcl-cxcontrols-0bad847f.md

latest2.0 KB
Original Source

TdxAutoSizeMode Enum

Enumerates available automatic size adjustment modes that you can apply to a compatible DevExpress control.

Declaration

delphi
TdxAutoSizeMode = (
    asNone,
    asAutoWidth,
    asAutoHeight,
    asAutoSize
);

Members

Name
asNone
asAutoWidth
asAutoHeight
asAutoSize

Remarks

Options include:

ValueDescription
asNoneA control has fixed dimensions determined by its Width and Height property values.
asAutoWidthA control automatically adjusts its Width property value to maintain the minimum width required to fit the currently displayed content.
asAutoHeightA control automatically adjusts its Height property value to maintain the minimum height required to fit the currently displayed content.
asAutoSizeA control automatically maintains the minimum dimensions required to fit the currently displayed content. Use the asAutoWidth or asAutoHeight value to maintain only the minimum sufficient width or height, respectively.

The following properties reference the TdxAutoSizeMode type:

See Also

TdxRichEditAutoSizeMode

cxControls Unit