Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V23.1
  • DXImage Class

    A component that allows you to display images.

    Namespace: DevExpress.Maui.Controls

    Assembly: DevExpress.Maui.Controls.dll

    NuGet Package: DevExpress.Maui.Controls

    Declaration

    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

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