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

TileItemElement.ImageToTextIndent Property

Gets or sets the distance between a tile item element’s glyph and text when grouped.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(6)]
[DXCategory("Appearance")]
public int ImageToTextIndent { get; set; }

#Property Value

Type Default Description
Int32 6

An Int32 value that specifies the distance between tile item’s glyph and text when grouped.

#Remarks

A TileItem can contain multiple content blocks stored within the TileItem.Elements collection. Every block can have its own unique icon and text (see the TileItemElement.Text and TileItemElement.Image topics to learn more). Every element’s text region can be grouped with the element’s image. In this case, the TileItemElement.TextAlignment property is ignored and both the text and icon are located according to the TileItemElement.ImageAlignment property. Text and icon are arranged within this element according to the TileItemElement.ImageToTextAlignment property. You can set the margin between grouped icon and text using the ImageToTextIndent property.

See the Tile Item Structure topic to learn more.

See Also