Skip to main content

WinExplorerViewStyleOptions.ItemWidth Property

Gets or sets the item width for the current WinExplorerView style.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public int ItemWidth { get; set; }

Property Value

Type Default Description
Int32 -1

An Int32 value that is the item width for the current WinExplorerView style.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemWidth


By default, items within each WinExplorer View Style have automatically measured widths. You can manually set the item width via the ItemWidth property. The image below demonstrates items within the WinExplorerViewStyle.Tiles style, whose ItemWidth property is set to 400 pixels.

WinExplorer View - ItemWidth

You can set the same item width for all Styles at once via the WinExplorerViewStyleOptionsCollection.SetItemWidth property.


The ItemWidth property has no effect for the WinExplorerViewStyle.Content style.

See Also