i have image file create during runtime.
i want set backgroundimage of contentpage (in android project)
i tried set path of file backgroundimage property doesn't work.
is there way ?
i can't put resource since create @ runtime
put page grid
first element image
, set image source
stream like:
image bgimage = new image { source = imagesource.fromstream(() => { return new memorystream(buffer); }); } grid maingrid = new grid { children = {bgimage,yourcontent} }; yourpage.content= maingrid;