<?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 Re: Styling Graphic in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338556#M8701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would be great. One possible downside might be "heavy" objects as they would derive from FrameworkElement instead of DependencyObject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My initial reason for wanting this, in addition to "doing it the WPF way", was that I could have a wrapper class inheriting from Graphic, and have a dependencyproperty containing my ViewModel. I could then use style triggers to change the appearance. Of course, I would then have to create additional objects to get this working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any plans for better support for MVVM patterns?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 17:14:20 GMT</pubDate>
    <dc:creator>BjørnarSundsbø</dc:creator>
    <dc:date>2010-10-21T17:14:20Z</dc:date>
    <item>
      <title>Styling Graphic</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338552#M8697</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 would very much like to be able to style a Graphic in XAML, but since alot of the properties are not DependencyProperties (and Graphic is not a FrameworkElement), I am unable to affect these changes, and the style is useless. I want to be able to style it and use templates/triggers to be able to change appearance of the graphic based on changes to the object being displayed as I would any other WPF control. Also support for binding attributes, such as rotation and other details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose IRenderer is the interface to use here, but a renderer able to get symbols and geometries from a Graphic would be more in the WPF style of defining appearance than the "old" renderer approach used in arcobjects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also binding the geometry to my viewmodel. Any immediate plans for extending the API to support this kind of functionallity? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar Sundsbø&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 18:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338552#M8697</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-18T18:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Graphic</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338553#M8698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can style graphic by either setting its Symbol or setting its layer's Renderer. You can update the symbol templates too to change the appearance according to your need.&amp;nbsp; There are several samples here: &lt;/SPAN&gt;&lt;A href="http://esriurl.com/slsdk2"&gt;http://esriurl.com/slsdk2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was there anything specific that you cannot do using the above approach?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 02:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338553#M8698</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-20T02:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Graphic</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338554#M8699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So far I haven't found anything, though I've just started looking into rotation. The reason I asked was just to style items the same way as I'm used to with other WPF components.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 16:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338554#M8699</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-21T16:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Graphic</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338555#M8700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah okay. I can bring it up for discussion with our team lead to see what he thinks. Thanks for the suggestion, we'll take that under advisement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 17:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338555#M8700</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-21T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Graphic</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338556#M8701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would be great. One possible downside might be "heavy" objects as they would derive from FrameworkElement instead of DependencyObject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My initial reason for wanting this, in addition to "doing it the WPF way", was that I could have a wrapper class inheriting from Graphic, and have a dependencyproperty containing my ViewModel. I could then use style triggers to change the appearance. Of course, I would then have to create additional objects to get this working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any plans for better support for MVVM patterns?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 17:14:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/styling-graphic/m-p/338556#M8701</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-21T17:14:20Z</dc:date>
    </item>
  </channel>
</rss>

