Select to view content in your preferred language

MVVM binding to ClassBreakInfo MinimumValue / MaximumValue

655
1
03-08-2013 07:50 AM
DavidChevrier
Frequent Contributor
Hi,
    I can't seem to find a way to bind to the MaximumValue / MinimumValue properties inside of ClassBreakInfo in ClassBreaksRenderer.Classes.  Is the property not exposed to do this?  Or am I missing something?  I've also tried <sys:Double x:Key="testDouble">1.0</sys:Double>    and then using this  MinimumValue="{StaticResource testDouble}" which works fine.  But I can't figure out how to bind the value of testDouble to a double in my class so that that is is auto updated.  Any advice would be greatly appreciated.
Thanks
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
The binding can't work in this context because:

  • ClassBreakInfo is not a FrameworkElement

  • MaximumValue/MinimumValue are not dependency properties


The workaround may be to use attached properties as explained by Morten here.
0 Kudos