Skip to main content
ON

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

DXImage Class

A component that allows you to display tinted images.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Core.dll

NuGet Package: DevExpress.Maui.Core

#Declaration

C#
public class DXImage :
    Image

#Remarks

The DXImage extends the standard Image component functionality with the TintColor property. Use the TintColor property to specify a fill color for the image.

#Example

The following example shows how to select the image’s color based on the app theme:

DevExpress DXImage for MAUI - Tint color

View Example

<dx:DXImage Source="mail_light" VerticalOptions="Center" TintColor="{AppThemeBinding Light={StaticResource Gray500}, Dark={StaticResource Gray200}}"/>
See Also