<?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 Placing Map in a Canvas in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228017#M5789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I like to have all my toolbar and boxes on my layout enabled for drag and drop. To do so, I need to place the Map in a Canvas so I can re-position everything to the Canvas.Left and Canvas.Top. Right? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However as soon as I put the Map in a Canvas, the size of map changes to a tiny rectangle. When I don't have the Canvas, the Map takes all the screen. What can I do to have the Map to take all the screen but still be in a Canvas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mansour&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Aug 2010 21:08:39 GMT</pubDate>
    <dc:creator>MansourArshon</dc:creator>
    <dc:date>2010-08-13T21:08:39Z</dc:date>
    <item>
      <title>Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228017#M5789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I like to have all my toolbar and boxes on my layout enabled for drag and drop. To do so, I need to place the Map in a Canvas so I can re-position everything to the Canvas.Left and Canvas.Top. Right? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However as soon as I put the Map in a Canvas, the size of map changes to a tiny rectangle. When I don't have the Canvas, the Map takes all the screen. What can I do to have the Map to take all the screen but still be in a Canvas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mansour&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 21:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228017#M5789</guid>
      <dc:creator>MansourArshon</dc:creator>
      <dc:date>2010-08-13T21:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228018#M5790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I thought I should do this in the code behind however in the code behind the value for the Canvas width is NaN even though the Canvas is filling the screen. It is a bit confusing....hummm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 21:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228018#M5790</guid>
      <dc:creator>MansourArshon</dc:creator>
      <dc:date>2010-08-13T21:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228019#M5791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about placing the map inside a border with height and width before placing the border inside a canvas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Aug 2010 02:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228019#M5791</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-08-14T02:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228020#M5792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It didn't help;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a bit more info on the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I put the Map in the root, it will fill the screen; if I put it in a Canvas, it appears in a small rectangle (The Canvas itself fills the screen; I can verify it by setting a background color for Canvas). To resolve this, I wanted to set the Map width and height to the Canvas width and height but the values of Canvas width and height at run time are NaN. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I have the Map to fill the screen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mansour&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 15:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228020#M5792</guid>
      <dc:creator>MansourArshon</dc:creator>
      <dc:date>2010-08-16T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228021#M5793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mansour,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Silverlight control you add to a Canvas control should have their Width and Height values set in addition to the Canvas.Left and Canvas.Top properties. You can use a Grid control instead and use its Margin property for repositioning your elements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 21:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228021#M5793</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2010-08-16T21:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Map in a Canvas</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228022#M5794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ali,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the helpful tip. I made the drag and drop working with margin instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mansour&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 18:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/placing-map-in-a-canvas/m-p/228022#M5794</guid>
      <dc:creator>MansourArshon</dc:creator>
      <dc:date>2010-08-17T18:19:45Z</dc:date>
    </item>
  </channel>
</rss>

