Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Magnifier toggle on and off

$
0
0
I have just started using the wpf magnifier and I think it is a great tool. I have been having an issue though. I have been trying to toggle it on and off with a checkbox binding in xaml with no success. Is this possible to bind the magnifier control to a checkbox and toggle it on and off by clicking the checkbox? I have been doing something like this:

<CheckBox x:Name="chkZoomOn" />

and in the Magnifier control

<wpfx:Magnifier Visibility="{Binding ElementName=chkZoomOn, Path=Value}"

Obviously this does not work. Can anyone see anything glaring wrong with my approach?
Your input would be greatly appreciated. Thank you in advance.

Viewing all articles
Browse latest Browse all 2157

Trending Articles