Xaml and custom property for style (WPF) how to?
asked 2020-09-24T10:57:04.457+00:00

Code Wanderer
396
Reputation points
I want create new property for style. For example I want control from property some visuals (width of the Thumb or rounded corner for example).
exmaple:
<Slider ThumbWidth="4" RoundedCorners="6"/>
where ThumbWidth is custom property.
How to do that?