Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Is it possible to reference screen width & height as a (dynamic/static) resource?

$
0
0
I can specify system colors in xaml using "{DynamicResource {x:Static SystemColors.ControlBrushKey}}" etc. Is it possible to do something similar but for screen width and height, e.g. {x:Static SystemColors.ControlBrushKey} / 2 etc?

Gouranga Gupta :-)



Viewing all articles
Browse latest Browse all 18858

Trending Articles



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