Diagram Constants.Minimum Zoom xaml

2 posts, 0 answers
  1. Egemen
    Egemen avatar
    34 posts
    Member since:
    Apr 2012

    Posted 02 Apr 2015 Link to this post


    How can i set Minimum Zoom in xmal?  When i set Zoom="0.3" it doesn't work. Should i set this constant too ?

    Thank u
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 06 Apr 2015 Link to this post


    The DiagramConstants class is not a dependency object nor the constant properties are dependency nor attached. This means that you cannot use Styles nor Bindings to set any property of that class.

    The DiagramConstants class is designed to be used in code behind. You should set the required constants in the static constructor of your UserControl.

    Pavel R. Pavlov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top