Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
softlion authored Sep 6, 2024
1 parent 216bdb0 commit 84fa5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Remarks:

You can also use `<SvgImageSource Svg="...." Height="50" />` as the ImageSource for tab icons, button icons, navigation bar icons, ...
For those, the Widht and/or Height is mandatory and non bindable, as ImageSource objects are static in MAUI (limitation of MAUI).
The compact syntax `ImageSource="{controls:Svg refresh.svg,Height=50}"` is easier to use.
The compact syntax `ImageSource="{svg:Svg refresh.svg,Height=50}"` is easier to use.

Note that SvgImageSource converts the svg image into a passive raster image displayed by another UI control like `Image`. The consequence is, it supports only one ColorMapping.

Expand Down

0 comments on commit 84fa5c6

Please sign in to comment.