Back to Devexpress

WinExplorerViewStyleOptions.ImageToTextIndent Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewstyleoptions-0f04e5fe.md

latest3.5 KB
Original Source

WinExplorerViewStyleOptions.ImageToTextIndent Property

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

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(-1)]
[XtraSerializableProperty]
public int ImageToTextIndent { get; set; }
vb
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property ImageToTextIndent As Integer

Property Value

TypeDefaultDescription
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 TypePath 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

WinExplorer View

WinExplorerViewStyleOptions Class

WinExplorerViewStyleOptions Members

DevExpress.XtraGrid.Views.WinExplorer Namespace