Quantcast
Channel: Grid Background Colour Based on Item Property - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Romasz for Grid Background Colour Based on Item Property

You can for example use a Converter for this task: Define a converter class in a namespace: namespace MyConverters { public class BoolToBrush : IValueConverter { private Brush FalseValue = new...

View Article


Grid Background Colour Based on Item Property

How do I set the background colour of individual grid items based on a property of the individual item? I have the following code: <PivotItem x:Uid="PivotBlocks" Margin="10, 10, 10, 10"...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>