This is a migrated thread and some comments may be shown as answers.

CustomGridLines - Controlling Visibility Programmatically

1 Answer 9 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Randy Minder
Top achievements
Rank 1
Randy Minder asked on 23 Jan 2012, 04:35 PM
I have a chart that contains two custom grid lines. However, I only want to show them under certain circumstances. I noticed the Visibility property doesn't support binding. I'd rather not set this property in code-behind, as I'm trying to bind everything via MVVM. Is code-behind my only choice here?

1 Answer, 1 is accepted

Sort by
0
Randy Minder
Top achievements
Rank 1
answered on 23 Jan 2012, 04:56 PM
I'm sorry. Please ignore this post. The Visibility property does indeed support binding. I just missed it.
Tags
Chart
Asked by
Randy Minder
Top achievements
Rank 1
Answers by
Randy Minder
Top achievements
Rank 1
Share this question
or