CustomGridLines - Controlling Visibility Programmatically

2 posts, 0 answers
  1. Randy Minder
    Randy Minder avatar
    20 posts
    Member since:
    Aug 2009

    Posted 23 Jan 2012 Link to this post

    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?
  2. Randy Minder
    Randy Minder avatar
    20 posts
    Member since:
    Aug 2009

    Posted 23 Jan 2012 Link to this post

    I'm sorry. Please ignore this post. The Visibility property does indeed support binding. I just missed it.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top