1
Vote

Unable to style ChartScrollBarVisibility property

description

The ChartScrollBarVisibility property is registered as a DependencyProperty using a different name: "ShowScrollBars".
 
If you attempt to use a targeted style to set the ChartScrollBarVisibility it doesn't work because the style mechanism trys to do a SetValue on the DP and doesn't find it. Catch 22: if you attempt to put ShowScrollBars in the style, it still doesn't work.
 
The fix is easy: in the entire project change all occurances of "ShowScrollBars" to "ChartScrollBarVisibility".

comments