Back to Devexpress

TdxGalleryControlOptionsView.ContentOffset Property

vcl-dxgallerycontrol-dot-tdxgallerycontroloptionsview-ce918d99.md

latest1.1 KB
Original Source

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 ContentOffsetContentOffset.Top = 20

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

See Also

TdxGalleryControlOptionsView Class

TdxGalleryControlOptionsView Members

dxGalleryControl Unit