Reverse checkbox binding

3 posts, 1 answers
  1. Tom
    Tom avatar
    38 posts
    Member since:
    Mar 2007

    Posted 16 May 2012 Link to this post

    I know this is an odd request and probably not Ideal but is there anyway to set a wpf checkbox to be checked when the binding value is false and unchecked when it is true?  The checkbox is bound to a field in a database object and because of a legacy application I can't just reverse the values in the table. 
  2. Answer
    Maya
    Admin
    Maya avatar
    4062 posts

    Posted 16 May 2012 Link to this post

    Hello James,

    You can try working with a converter (IValueConverter) and return the value you want. Let us know in case you need an assistance.

    Regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Tom
    Tom avatar
    38 posts
    Member since:
    Mar 2007

    Posted 16 May 2012 Link to this post

    That worked. Thanks
Back to Top