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

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

C#
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