Back to Devexpress

SimpleButton.ImageToTextIndent Property

windowsforms-devexpress-dot-xtraeditors-dot-simplebutton-24c048e6.md

latest1.9 KB
Original Source

SimpleButton.ImageToTextIndent Property

Gets or sets the ditance between the button’s image and text. This property is in effect if the button’s image is aligned relative to the text.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(-1)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImageToTextIndent { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(-1)>
<DXCategory("Appearance")>
Public Property ImageToTextIndent As Integer

Property Value

TypeDefaultDescription
Int32-1

An integer value that specifies the distance, in pixels, between the button’s image and text.

|

Remarks

Use the SimpleButton.ImageOptions property to display an image in a button and specify image-related settings.

If the button’s image is aligned relative to the button’s text, the SimpleButton.ImageOptions.ImageToTextIndent property specifies the distance between the image and text.

See Also

ImageOptions

SimpleButton Class

SimpleButton Members

DevExpress.XtraEditors Namespace