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
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:
<dx:DXImage Source="mail_light" VerticalOptions="Center" TintColor="{AppThemeBinding Light={StaticResource Gray500}, Dark={StaticResource Gray200}}"/>
Implements
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
Inheritance
System.Object
See Also