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

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:

Value Description
asNone A control has fixed dimensions determined by its Width and Height property values.
asAutoWidth A control automatically adjusts its Width property value to maintain the minimum width required to fit the currently displayed content.
asAutoHeight A control automatically adjusts its Height property value to maintain the minimum height required to fit the currently displayed content.
asAutoSize A 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