<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ConstrainExtent in code in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64706#M1623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Apr 2010 22:38:05 GMT</pubDate>
    <dc:creator>ScottMcEachern</dc:creator>
    <dc:date>2010-04-06T22:38:05Z</dc:date>
    <item>
      <title>Set ConstrainExtent in code</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64704#M1621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to set the ESRI.ArcGIS.Client.Behaviors.ConstrainExtentBehavior in code rather than XAML?&amp;nbsp; For this use case, the option to use the constrain extent and the envelope are not know until runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 19:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64704#M1621</guid>
      <dc:creator>ScottMcEachern</dc:creator>
      <dc:date>2010-04-05T19:42:32Z</dc:date>
    </item>
    <item>
      <title>Set ConstrainExtent in code</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64705#M1622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A behavior can be added to the behaviors collection coming from&amp;nbsp; System.Windows.Interactivity.Interaction.GetBehaviors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Windows.Interactivity.Behavior behavior = new ESRI.ArcGIS.Client.Behaviors.ConstrainExtentBehavior()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ConstrainedExtent = new ESRI.ArcGIS.Client.Geometry.Envelope(-120, 30, -60, 60)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Windows.Interactivity.Interaction.GetBehaviors(MyMap).Add(behavior);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 22:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64705#M1622</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-04-05T22:38:41Z</dc:date>
    </item>
    <item>
      <title>ConstrainExtent in code</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64706#M1623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 22:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/set-constrainextent-in-code/m-p/64706#M1623</guid>
      <dc:creator>ScottMcEachern</dc:creator>
      <dc:date>2010-04-06T22:38:05Z</dc:date>
    </item>
  </channel>
</rss>

