Skip to content
Vetle444 edited this page Jul 10, 2023 · 1 revision

Image

MAUI's Image component have been extended with the ability to set the tint color of the image.

Usage

This is an example where an Image is set to Green.

<dui:Image Source="{dui:Icons ascending_fill}" TintColor="Green" />

Properties

Inspect the Image properties class to further customise and use it.

ImageButton

MAUI's ImageButton component have been extended with the ability to set the tint color of the image. Additional hitbox size can also be set.

Usage

This is an example where an Image is set to Green.

<dui:ImageButton Source="{dui:Icons ascending_fill}" TintColor="Green" />

Here is an example where the ImageButton has 20 extra hitbox size.

<dui:ImageButton Source="{dui:Icons ascending_fill}" AdditionalHitBoxSize="50" />

Properties

Inspect the ImageButton properties class to further customise and use it.

Clone this wiki locally