Page 1 of 1

ImageBrush - Any prevision

Posted: Wed Jun 10, 2020 6:46 am
by luis.rodas
Hi,

Is there any prevision to support "ImageBrush"? I would like to use it for Shape/Fill, Canvas/Background, etc

Best Regards,
Luis

Re: ImageBrush - Any prevision

Posted: Wed Jun 10, 2020 11:25 am
by MichaelHughes
Taken from http://www.cshtml5.com/links/limitations.aspx

ImageBrush is not yet supported.
Workaround: use an <Image> control instead. If you need to place the <Image> control behind another control, you can do so by placing both the <Image> control and the said control inside a surrounding <Grid> control. Here is an example of use of the Image control: <Image Source="/AssemblyName;component/FolderName/ImageFileName.jpg" Width="320" Height="240"/>