<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>WPF</title>
        <link>http://geekswithblogs.net/codesailor/category/7613.aspx</link>
        <description>Windows Presentation Foundation Related Posts</description>
        <language>en-US</language>
        <copyright>Brian Lanham</copyright>
        <managingEditor>codesailor@yahoo.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Hello?  Is Anyone Out There Writing Code?</title>
            <link>http://geekswithblogs.net/codesailor/archive/2008/01/29/119042.aspx</link>
            <description>&lt;p&gt;I have been working on a graphics project for about a month now.  Our initial tasks are focused on identifying and proving (or disproving) the high risk areas.  With respect to graphics applications, I find a lot of risk in the nuances.  For example, when one line overlaps another, can the overlapping line render with a curve to indicate the overlap?&lt;/p&gt;
&lt;p&gt;I am 97% certain that almost anything we need/want to do on this project can be done successfully.  However, I had a bad experience with GDI+ about a year ago.  Although I am 1000% more confident that WPF will NOT have those problems, I am in the "trust but verify" mode.  So I am proving these things.&lt;/p&gt;
&lt;p&gt;I am completely frustrated with the lack of examples, especially the lack of examples in code.  Everything seems to be done in XAML.  Well the type of software that I am writing doesn't lend itself to doing all the drawing in XAML.  As an example, I wanted to draw a line.  Nothing fancy, just a line.  I spent an hour looking for examples that draw lines programmatically.  I found a few.  I found about a dozen more that use XAML (with hard coded endpoints).  &lt;/p&gt;
&lt;p align="center"&gt;What happened to writing code?&lt;/p&gt;
&lt;p&gt;I have really developed a bad taste over declarative programming.  I didn't like it from the beginning and my frustrations with seemingly simple XAML tasks support my disdain for it.  Oh, you want to know what a simple task is?  I want to create multiple projects and reference one from another in a XAML file.  You'd think that, if nothing else, would be easy.  NOT!&lt;/p&gt;
&lt;p&gt;Don't get me wrong.  I think XAML is really amazing technology.  I also see its place.  In fact, I love the way I can create a ControlTemplate in code and then use XAML to define instantiation specifics for controls made from that template.  Then, of course, I can actually instantiate a control from the template, with the XAML applied.  That's pretty phly and might even be amazing (if I weren't so frustrated).&lt;/p&gt;
&lt;p&gt;However, there is simply a lack of examples and samples doing work in code.  So, if you know of a good reference where people are using WPF and writing code...please let me know.  (Alternately, if you know of a good reference on connecting XAML to XAML across projects and doing dynamic, user-controlled WPF applications in XAML, please let me know that too.)&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119042"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119042" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/codesailor/aggbug/119042.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Lanham</dc:creator>
            <guid>http://geekswithblogs.net/codesailor/archive/2008/01/29/119042.aspx</guid>
            <pubDate>Tue, 29 Jan 2008 16:15:29 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/codesailor/comments/119042.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/codesailor/archive/2008/01/29/119042.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/codesailor/comments/commentRss/119042.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/codesailor/services/trackbacks/119042.aspx</trackback:ping>
        </item>
    </channel>
</rss>