Skip to main content

FormItemBase.ImageMargin Property

Gets or sets the gaps between the image and other form item elements. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public Thickness ImageMargin { get; set; }

Property Value

Type Description
Thickness

An object that specifies the image margin.

Example

The following example configures image settings:

DevExpress FormItem for MAUI - Image customization

<dxe:FormItem Text="Brightness level"
              TextMargin="4,4,4,16"
              InlineContent="80%"
              ShowArrow="True"
              ImageSource="brightness"
              ImageColor="#F9C938"
              ImageHeight="36"
              ImageWidth="36"
              ImageMargin="4"
              ImageVerticalOptions="Start">
</dxe:FormItem>
See Also