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

dxAutoReplaceImageListReferencesOnDPIChanges Variable

Deprecated. Specifies if DevExpress forms can automatically switch between prepared image lists for different target DPIs when the monitor DPI changes.

#Declaration

Delphi
var dxAutoReplaceImageListReferencesOnDPIChanges: Boolean = True;

#Variable Value

Type Description
Boolean
  • True (default). A DevExpress form (a TdxCustomForm or TdxForm class descendant instance) automatically switches between multiple image lists for the same set of UI elements at different target monitor DPIs.

  • False. A DevExpress form never switches between image lists. Use this option if the image list switch functionality leads to problematic behavior in your application.

    Note

    TdxCustomForm.UpdateImageLists and TdxForm.UpdateImageLists procedure calls have no effect if this global variable is set to False.

#Remarks

The image list swap functionality allows you to use multiple sets of bitmap icons for the same set of UI elements to target different monitor DPIs.

Tip

This image list replacement technique is deprecated. We recommend that you use only SVG images as UI icons in projects that target multi-monitor mixed-DPI environments.

See Also