Back to Devexpress

DataFormView.ContentPadding Property

maui-devexpress-dot-maui-dot-dataform-dot-dataformview-02b7f69e.md

latest1.6 KB
Original Source

DataFormView.ContentPadding Property

Gets or sets the distance between editors and the data form’s borders or group headers.This is a bindable property.

Namespace : DevExpress.Maui.DataForm

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Thickness ContentPadding { get; set; }

Property Value

TypeDefaultDescription
Thickness-1

The content padding.

|

Remarks

Example

This example customizes the data form’s editors, group headers, and row separators.

|

Before

|

After

| | --- | --- | |

|

|

  1. Override resources to modify the appearance of the data form’s editors (hide edit box borders and the clear icon, and change placeholder and input text color).
  2. Use the following properties of the data form:

See Also

DataFormView Class

DataFormView Members

DevExpress.Maui.DataForm Namespace