Is it possible to use an image in a StackedColumn? I’d like to use a design in the columns instead of a solid color with Fill.
Edit: I figured out how…
So while you can’t assign an image directly to StackedColumn, per say, you can use various Brushes with Fill and one of those Brushes is the ImageBrush. It goes something like this:
stackedColumn.Fill = = new ImageBrush(image: new BitmapImage(uriSource: new Uri(uriString: "Images/MyImage.png")));
I actually ended up using the LinearGradientBrush instead of ImageBrush for my needs and it works great!
- Greg Knox asked 4 years ago
- last edited 4 years ago
-
I was about to say ‘no it is not’ but if you’ve figured it out, please share!
-
Just updated it!
- You must login to post comments