I tried to use MaintainExtentBehavior but got the following error:
A value of type 'MaintainExtentBehavior' cannot be added to a collection or dictionary of type 'BehaviorCollection'.
My code:
<i:Interaction.Behaviors>
<esriBehaviors:MaintainExtentBehavior x:Uid="meb" />
</i:Interaction.Behaviors>
My namespaces:
xmlns:esriBehaviors="clr-namespace:ESRI.ArcGIS.Client.Behaviors;assembly=ESRI.ArcGIS.Client.Behaviors"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
Any clues why I got that error??
Thanks!