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

Diagram Constants.Minimum Zoom xaml

1 Answer 35 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Egemen
Top achievements
Rank 1
Egemen asked on 02 Apr 2015, 01:55 PM
Hi,

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

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 06 Apr 2015, 03:11 PM
Hello,

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.

Regards,
Pavel R. Pavlov
Telerik
 

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

 
Tags
Diagram
Asked by
Egemen
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or