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

TdxGalleryControlOptionsView.ContentOffset Property

Specifies the gallery’s internal offset (in pixels).

#Declaration

Delphi
property ContentOffset: TcxMargin read; write;

#Property Value

Type
TcxMargin

#Remarks

This property sets the distances between the control’s borders and content.

The image below shows how the control’s appearance changes when setting ContentOffset.Top to 20.

Default ContentOffset ContentOffset.Top = 20

The default value of the ContentOffset.All property is 1.

See Also