Back to Devexpress

ImageEdit.ScrimColor Property

maui-devexpress-dot-maui-dot-editors-dot-imageedit-fa95cefd.md

latest1.5 KB
Original Source

ImageEdit.ScrimColor Property

Gets or sets the scrim color. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Color ScrimColor { get; set; }

Property Value

TypeDescription
Color

The scrim color.

|

Remarks

The image editor gets a color for its scrim from the applied theme. Use the ScrimColor property to apply a custom color to the scrim. If you need the image editor to display the scrim in its original color, set the ScrimColor property to {x:Null}:

xaml
<dxe:ImageEdit ...        
                ScrimColor="{x:Null}"          
/>

Example

This example shows how to change the ImageEditor appearance:

xml
<dxe:ImageEdit ...
                CropFrameOffset="80"
                ScrimColor="LightBlue"
                CropFrameThickness="20"
                CropFrameColor="Gray"/>

See Also

ImageEdit Class

ImageEdit Members

DevExpress.Maui.Editors Namespace