<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WPF on Bits and Pieces</title>
		<link>https://bits.strawjackal.org/tags/wpf/</link>
		<description>Recent content in WPF on Bits and Pieces</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 27 Mar 2012 08:18:19 +0200</lastBuildDate>
		
			<atom:link href="https://bits.strawjackal.org/tags/wpf/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>ArcGIS–Getting the Legend Labels out</title>
				<link>https://bits.strawjackal.org/110/</link>
				<pubDate>Tue, 27 Mar 2012 08:18:19 +0200</pubDate>
				<guid>https://bits.strawjackal.org/110/</guid>
				<description>&lt;p&gt;Working with ESRI’s ArcGIS package, especially the WPF API, can be confusing. There’s the REST API, the SOAP APIs, and the WPF classes themselves, which expose some web service calls and information, but not everything. With all that, it can be hard to find specific features between the different options. Some functionality is handed to you on a silver platter, while some is maddeningly hard to implement.&lt;/p&gt;  &lt;p&gt;Today, for instance, I was working on adding a Legend control to my map-based WPF application, to explain the different symbols that can appear on the map.&lt;/p&gt;</description>
			</item>
			<item>
				<title>ArcGIS–Getting the Legend Labels out</title>
				<link>https://bits.strawjackal.org/43/</link>
				<pubDate>Mon, 26 Mar 2012 23:59:00 +0200</pubDate>
				<guid>https://bits.strawjackal.org/43/</guid>
				<description>&lt;p&gt;Working with ESRI’s ArcGIS package, especially the WPF API, can be confusing. There’s the REST API, the SOAP APIs, and the WPF classes themselves, which expose some web service calls and information, but not everything. With all that, it can be hard to find specific features between the different options. Some functionality is handed to you on a silver platter, while some is maddeningly hard to implement.&lt;/p&gt;  &lt;p&gt;Today, for instance, I was working on adding a Legend control to my map-based WPF application, to explain the different symbols that can appear on the map. &lt;/p&gt;</description>
			</item>
			<item>
				<title>WPF: Snooping Attached Properties</title>
				<link>https://bits.strawjackal.org/114/</link>
				<pubDate>Thu, 01 Sep 2011 11:28:20 +0200</pubDate>
				<guid>https://bits.strawjackal.org/114/</guid>
				<description>&lt;p&gt;When developing WPF applications, &lt;a href=&#34;http://snoopwpf.codeplex.com/&#34;&gt;Snoop&lt;/a&gt; is a wonderful tool that can let us see our visual tree at runtime, and find errors in data binding that are otherwise hard to track down in debugging. However, Snoop has an annoying limitation – it can’t show us data-bound Attached Properties. Let’s say we have the following XAML:   &lt;pre style=&#34;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&#34;&gt;&lt;pre style=&#34;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; font-size: 12px&#34;&gt;&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;laquo;/span&amp;gt;&lt;span style=&#34;color: #800000&#34;&gt;Canvas&lt;/span&gt;&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;gt;&lt;/span&gt;&#xA;&lt;/pre&gt;&lt;pre style=&#34;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; font-size: 12px&#34;&gt;   &lt;span style=&#34;color: #0000ff&#34;&gt;&amp;laquo;/span&amp;gt;&lt;span style=&#34;color: #800000&#34;&gt;Button&lt;/span&gt; &lt;span style=&#34;color: #ff0000&#34;&gt;Canvas&lt;/span&gt;.&lt;span style=&#34;color: #ff0000&#34;&gt;Left&lt;/span&gt;=&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;quot;{Binding Location.X}&amp;quot;&lt;/span&gt;&#xA;&lt;/pre&gt;&lt;pre style=&#34;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; font-size: 12px&#34;&gt;           &lt;span style=&#34;color: #ff0000&#34;&gt;Canvas&lt;/span&gt;.&lt;span style=&#34;color: #ff0000&#34;&gt;Top&lt;/span&gt;=&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;quot;{Binding Location.Y&amp;quot;&lt;/span&gt;}&lt;span style=&#34;color: #0000ff&#34;&gt;/&amp;gt;&lt;/span&gt;&#xA;&lt;/pre&gt;&lt;pre style=&#34;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&amp;#39;Courier New&amp;#39;,courier,monospace; font-size: 12px&#34;&gt;&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color: #800000&#34;&gt;Canvas&lt;/span&gt;&lt;span style=&#34;color: #0000ff&#34;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
