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

WinExplorerViewStyleOptions.ImageToTextIndent Property

Gets or sets the distance between an item image and the caption.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public int ImageToTextIndent { get; set; }

#Property Value

Type Default Description
Int32 -1

An Int32 value that is the distance between an item image and the caption.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ImageToTextIndent
WinExplorerViewStyleOptionsCollection
.ExtraLarge .ImageToTextIndent
WinExplorerViewStyleOptionsCollection
.Large .ImageToTextIndent
WinExplorerViewStyleOptionsCollection
.Medium .ImageToTextIndent
WinExplorerViewStyleOptionsCollection
.Small .ImageToTextIndent
WinExplorerViewStyleOptionsCollection
.Tiles .ImageToTextIndent

#Remarks

The ImageToTextIndent property allows you to manually specify the distance between an item image and this item’s text for all items within this View Style. For the WinExplorerViewStyle.Content Style, you can additionally set the distance between image and description via the DescriptionMaxOffset, DescriptionMinOffset and DescriptionMinWidth properties.

See Also