Skip to main content

EditBase.BoxPadding Property

Gets or sets the amount of space between borders of the edit box and its content.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public Thickness BoxPadding { get; set; }

Property Value

Type Description
Thickness

Edit box padding.

Remarks

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

  • 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