Back to Devexpress

TdxTileControlOptionsView.ItemWidth Property

vcl-dxcustomtilecontrol-dot-tdxtilecontroloptionsview-aecf38f9.md

latest1.7 KB
Original Source

TdxTileControlOptionsView.ItemWidth Property

Specifies a regular tile item’s width (in pixels).

Declaration

delphi
property ItemWidth: Integer read; write;

Property Value

Type
Integer

Remarks

Regular tile items are ItemWidth pixels wide by ItemHeight pixels high.

The ItemWidth property automatically updates by multiplying its current value by the form’s scaling factor every time it changes.

Note

To postpone immediate repainting of the tile control in response to ItemHeight/ ItemWidth property changes, enclose the code that performs bulk modifications within the BeginUpdate/EndUpdate method blocks.

The default ItemWidth property value for the tile and tile bar controls is determined by the dxTileControlDefaultItemSize and dxTileBarDefaultItemWidth global constants, respectively.

See Also

TdxTileControlItem.RowCount

TdxTileControlOptionsView Class

TdxTileControlOptionsView Members

dxCustomTileControl Unit