Skip to main content

EditBase.BoxPadding Property

Gets or sets the amount of space between borders of the edit box and its content. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public Thickness BoxPadding { get; set; }

Property Value

Type Default Description
Thickness .nan

The edit box padding.

Remarks

Use the BoxPadding property to change the distance from the edit box content to its borders.

DevExpress MAUI TextEdit - Padding Captions

  • Pass a single double value to the Thickness structure to set the same padding for all editor borders:

    <dxe:TextEdit x:Name = "textEdit" BoxPadding = "15"/>
    
  • Pass four double values (in the following order: Left, Top, Right and Bottom) to specify each border padding separately:

    <dxe:TextEdit x:Name = "textEdit" BoxPadding = "20,0,0,0"/>
    
See Also