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

TcxCustomImageProperties.Center Property

Specifies if the editor centers an image.

#Declaration

Delphi
property Center: Boolean read; write; default True;

#Property Value

Type Default Description
Boolean True

True if the displayed image is centered; otherwise, False.

#Remarks

You can set the Center property to False to allow users to scroll an image if it does not fit into the editor’s boundaries when the FitMode property is set to ifmNormal.

Note

The Center property has no effect on the image editor if the FitMode property is set to ifmStretch, ifmProportionalStretch, ifmFit, or ifmFill.

#Default Value

The Center property’s default value is True.

See Also