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.v20.1.dll

Declaration

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

Property Value

Type Default Description
Int32

-1

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

Remarks

If the button's image is aligned relative to the button's text using the SimpleButton.ImageToTextAlignment property, you can specify the distance between the image and text by the ImageToTextIndent property.

The ImageToTextIndent property is equivalent to the ImageOptions.ImageToTextIndent property (see SimpleButton.ImageOptions).

See Also