<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://dotnet-forum.de/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang=""><title type="html">BlackCoin&amp;#39;s Corner</title><subtitle type="html">und noch ein Blog</subtitle><id>http://dotnet-forum.de/blogs/larsschmitt/atom.aspx</id><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/default.aspx" /><link rel="self" type="application/atom+xml" href="http://dotnet-forum.de/blogs/larsschmitt/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2009-12-19T14:54:00Z</updated><entry><title>Zugriff aus dem XAML-Code auf Properties in einer Nested Classes</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/15/zugriff-aus-dem-xaml-code-auf-properties-in-einer-nested-classes.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/15/zugriff-aus-dem-xaml-code-auf-properties-in-einer-nested-classes.aspx</id><published>2010-02-15T18:40:00Z</published><updated>2010-02-15T18:40:00Z</updated><content type="html">&lt;p&gt;Problem: Mal angenommen, während einer Entwicklungsphase will man per XAML-Code auf verschiedene Properties aus einer wie unten zu sehenden Nested Class zugreifen. &lt;/p&gt;  &lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;  

&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;class&lt;/span&gt; OuterClass{  

    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;class&lt;/span&gt; InnerClass{  

        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; InnerClass(){  

            Foo &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;=&lt;/span&gt; “Testausdruck”;  

        }  

        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;string&lt;/span&gt; Foo{ get; set; }  

   }  

}  &lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;  &lt;p&gt;Wer schon einmal versucht per Dot Notation auf dieses Property zuzugreifen, kennt die Resultierende Fehlermeldung ‘Der Typ &amp;quot;OuterClass.InnerClass&amp;quot;wurde nicht gefunden. Beachten Sie, dass bei Typnamen die Groß- und Kleinschreibung berücksichtigt wird.’ &amp;nbsp;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;  

&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Window&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;x:Class&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="WpfApplication16.Window1"&lt;/span&gt;   
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="&amp;lt;a href="&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&lt;/span&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation""&amp;gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;a&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns:x&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="&amp;lt;a href="&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;http://schemas.microsoft.com/winfx/2006/xaml""&amp;gt;http://schemas.microsoft.com/winfx/2006/xaml"&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;a&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns:Foo&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="clr-namespace:WpfApplication16"&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Title&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="Window1"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Height&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="300"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Width&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="300"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Button&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Content&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{Binding Source={x:Static Foo:OuterClass.InnerClass.Foo}}"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt;    
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Window&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;  &lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Hmm Der Code sieht doch eigentlich richtig aus …&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;  &lt;p&gt;Doch natürlich würde ich nicht darüber schreiben, wenn es nicht auch dafür eine Lösung geben würde&lt;/p&gt;  &lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;  

&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Window&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;x:Class&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="WpfApplication16.Window1"&lt;/span&gt;   
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="&amp;lt;a href="&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&lt;/span&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation""&amp;gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;a&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns:x&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="&amp;lt;a href="&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;http://schemas.microsoft.com/winfx/2006/xaml""&amp;gt;http://schemas.microsoft.com/winfx/2006/xaml"&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;a&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;xmlns:Foo&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="clr-namespace:WpfApplication16"&lt;/span&gt;    
    &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Title&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="Window1"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Height&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="300"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Width&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="300"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Button&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Content&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{Binding Source={x:Static Foo:OuterClass+InnerClass.Foo}}"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt;    
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;    
&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Window&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;   &lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Wer findet den Unterschied? &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Nein keine Sorge, wir spielen jetzt nicht suche den Unterschied, Der unterschied Liegt im ‘+’&amp;nbsp;&amp;nbsp; {Binding Source={x:Static Foo:OuterClass --------&amp;gt;&lt;strong&gt;+&lt;/strong&gt;&amp;lt;--------InnerClass.Foo}},&amp;nbsp; aber seit ehrlich, hättet ihr den Unterschied gefunden???????&lt;/p&gt;&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=31763" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /><category term="Binding" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/Binding/default.aspx" /></entry><entry><title>VS 2010</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/10/vs-2010.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/10/vs-2010.aspx</id><published>2010-02-10T20:50:00Z</published><updated>2010-02-10T20:50:00Z</updated><content type="html">&lt;p&gt;So, nachdem seit Montag, der Download des RC’s vom Visual Studio 2010 nur für MSDN-Abonnenten verfügbar war, stehen nun seit kurzem die unterschiedlichen Versionen, für jedem unter &lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"&gt;http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx&lt;/a&gt; zum Download Bereit.&lt;/p&gt;&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=29327" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author></entry><entry><title>VS 2010 Professional</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/02/vs-2010-professional.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2010/02/02/vs-2010-professional.aspx</id><published>2010-02-02T15:04:13Z</published><updated>2010-02-02T15:04:13Z</updated><content type="html">&lt;p&gt;Gerade eben habe ich eine E-Mail vom AzureNow Gewinnspiel erhalten, mit der Folgenden Mitteilung&lt;/p&gt;  &lt;p&gt;‘wir bedanken uns noch einmal für Ihre Teilnahme am AzureNow Gewinnspiel. In der letzten Woche wurden die Gewinner ermittelt und wir freuen uns Ihnen mitteilen zu können, dass Sie den folgenden Preis gewonnen haben:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Das neue Microsoft Visual Studio Professional 2010&amp;#160; als Downloadversion!’&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;…&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Für diesen Gewinn möchte ich mich Herzlichst bedanken&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=27426" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author></entry><entry><title>n Strings in WPF zusammensetzten</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2010/01/14/n-strings-in-wpf-zusammensetzten.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2010/01/14/n-strings-in-wpf-zusammensetzten.aspx</id><published>2010-01-14T20:49:00Z</published><updated>2010-01-14T20:49:00Z</updated><content type="html">&lt;p&gt;In einer unserer Anwendungen haben wir die Anforderung, dass sich jeder einzelne Window Title, aus einem Namen für das jeweilige Fenster und dem jeweiligen variablen Firmen Namen zusammengesetzt wird. Eigentlich wäre für diesen Sachverhalt alleine kein Blogeintrag notwendig, schließlich gibt es für dieses Vorhaben ja auch genug Möglichkeiten. Jedoch wie ich erst kürzlich wieder lesen konnte, sieht so manch einer aufgrund der Vielzahl an Möglichkeiten den Wald vor lauter Bäumen nicht. &lt;/p&gt;
&lt;p&gt;So möchte ich an dieser Stelle, mal zwei Lösungsmöglichkeiten, der Öffentlichkeit etwas näher bringen. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Für diesen Anwendungsfall gibt es eine Vielzahl von Lösungsmöglichkeiten, sei es mit einem AttachedProperty, Implementierung eines eigenen Windows, ein im Backend Definiertes Propperty, dass per Binding an die Oberfläche gebunden wird, … alles Möglichkeiten die mir so auf die schnelle einfallen, doch wie so oft es gibt noch weitere.&lt;/p&gt;
&lt;p&gt;Wie Z.B. über einen Converter, wie diesen hier&lt;/p&gt;
&lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;class&lt;/span&gt; AddUnternehmen : IValueConverter 
    { 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;#region&lt;/span&gt; IValueConverter Member 


        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; Convert(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; value, Type targetType, &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; parameter, System.Globalization.CultureInfo culture) 
        { 
            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;string&lt;/span&gt;.Format(&lt;span style="color: #666666;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;"{0} - {1}"&lt;/span&gt;, value, GlobaleDaten.AllgemeineEinstellungen.Singleton.AuthUnternehmen); 
        } 


        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; ConvertBack(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; value, Type targetType, &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; parameter, System.Globalization.CultureInfo culture) 
        { 
            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;throw&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;new&lt;/span&gt; NotImplementedException(); 
        } 


        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;#endregion&lt;/span&gt; 
    }&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Nachdem dieser den Application.Resources hinzugefügt wurde,&lt;/p&gt;
&lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;Application.Resources&amp;gt; 
       &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;conv:AddUnternehmen&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;x:Key&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="AddFirma"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt; 
&amp;lt;/Application.Resources&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;kann er nun zum zusammensetzen, des Window Title benutzt werden.&lt;/p&gt;
&lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;Window.Title&amp;gt; 
    &amp;lt;Binding Converter=”{StaticResource AddFirma}”&amp;gt; 
        &amp;lt;Binding.Source&amp;gt; 


            &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;!--xmlns:clr="clr-namespace:System;assembly=mscorlib"--&amp;gt;&lt;/span&gt; 
            &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;clr:String&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;Globale Suche&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;clr:String&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
        &amp;lt;/Binding.Source&amp;gt; 
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Binding&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
&amp;lt;/Window.Title&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Und zum Ende noch die zweite versprochene Möglichkeit, welches diesen Anwendungsfall per MultiBinding zu Lösen versucht.&lt;/p&gt;
&lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;Window.Title&amp;gt; 
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;MultiBinding&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;StringFormat&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{}{0} - {1}"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Binding&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
            &amp;lt;Binding.Source&amp;gt;


                &lt;span style="color: Green;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;!--xmlns:clr="clr-namespace:System;assembly=mscorlib"--&amp;gt;&lt;/span&gt;                 
                &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;clr:String&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;Globale Suche&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;clr:String&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
            &amp;lt;/Binding.Source&amp;gt; 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Binding&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;


        &amp;lt;!—xmlns:clr="clr-namespace:…"--&amp;gt;                 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Binding&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Path&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="AuthUnternehmen"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Source&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{x:Static Glob:AllgemeineEinstellungen.Singleton}"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt; 
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;MultiBinding&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
&amp;lt;/Window.Title&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=16038" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /></entry><entry><title>ContentPresenter richtig benutzen</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2010/01/10/contentpresenter-richtig-benutzen.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2010/01/10/contentpresenter-richtig-benutzen.aspx</id><published>2010-01-10T11:52:00Z</published><updated>2010-01-10T11:52:00Z</updated><content type="html">&lt;p&gt;Als erstes ein Beispiel, wie man es so oder in etwas anderer Form leider immer noch des Öfteren sehen kann.&lt;/p&gt;
&lt;p&gt;&lt;pre style="overflow: scroll; background-color: #f2f2f2;"&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Button&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Name&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="button1"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
            &amp;lt;Button.Template&amp;gt; 
                &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;ControlTemplate&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;TargetType&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{x:Type Button}"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
                    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Border&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;BorderBrush&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="Black"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;BorderThickness&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="1"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;HorizontalAlignment&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="Center"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;VerticalAlignment&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="Center"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;


                        &amp;lt;!—Warum bindet man das Content Propperty ein weiteres mal? --&amp;gt; 
                        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;ContentPresenter&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Content&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;="{TemplateBinding Content}"&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt; 
                    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Border&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
                &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
            &amp;lt;/Button.Template&amp;gt; 
        &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Button&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; 
    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;Grid&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Doch bei den beiden Presenter Objekten (ItemsPresenter und ContentPresenter) ist dieses gar nicht von Nöten, denn diese beiden Objekte bringen doch diese Bindung bereits von Haus aus mit. Das einzige was an dieser Stelle also wirklich gebraucht wird, ist eigentlich nur das der TargetType des ControlTemplates, auf das richtige Control oder zumindest auf den richtigen ControlType (ContentControl oder ItemsControl) gesetzt wird. &lt;/p&gt;&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=13924" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /><category term="ContentPresenter" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/ContentPresenter/default.aspx" /></entry><entry><title>ListView Spalten Aus und wieder Einblenden</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/30/listview-spalten-aus-und-wieder-einblenden.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="46481" href="http://dotnet-forum.de/blogs/larsschmitt/attachment/10751.ashx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/30/listview-spalten-aus-und-wieder-einblenden.aspx</id><published>2009-12-30T17:39:00Z</published><updated>2009-12-30T17:39:00Z</updated><content type="html">Vor einigen Tagen wurde ich von einem Entwickler gefragt, wie er es einem Anwender, in einer WPF Anwendung, am besten ermöglichen könnte, festgelegte ListView Spalten über einen Menü Punkt ein und wieder auszublenden. Kurzerhand erstellten wir, diesen einfachen XAML Ausschnitt. Eine einfaches ListView mit 4 Spalten. &amp;lt;Window.Resources&amp;gt; &amp;lt; XmlDataProvider Source ="Contact.xml" x:Key ="data" XPath ="contacts/*" /&amp;gt; &amp;lt;/Window.Resources&amp;gt; &amp;lt; Grid &amp;gt; &amp;lt; ListView DataContext ="{StaticResource...(&lt;a href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/30/listview-spalten-aus-und-wieder-einblenden.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=10751" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /><category term="Style" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/Style/default.aspx" /></entry><entry><title>Die Übersicht in einer ListView behalten</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/28/die-220-bersicht-in-einer-listview-behalten.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/28/die-220-bersicht-in-einer-listview-behalten.aspx</id><published>2009-12-28T21:49:00Z</published><updated>2009-12-28T21:49:00Z</updated><content type="html">Man sieht es leider immer noch häufig, dass der normale Anwender, mit den von uns Entwicklern erstellten Masken so manches mal ein wenig überfordert ist. Ein Grund für diese Überforderung ist ganz klar, die Masse an Informationen oder Eingabe Möglichkeiten, die wir versuchen in einer Maske unterzubringen (Sei es mit Absicht oder weil unser Auftraggeber es so verlangt). Ganz klar, Informationen die Vorhanden sind, sollte man auch anzeigen, aber muss es ZB. bei einem ListView immer so weit treiben...(&lt;a href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/28/die-220-bersicht-in-einer-listview-behalten.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=10748" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /><category term="Style" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/Style/default.aspx" /></entry><entry><title>Attached Events</title><link rel="alternate" type="text/html" href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/19/attached-events.aspx" /><id>http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/19/attached-events.aspx</id><published>2009-12-19T13:54:00Z</published><updated>2009-12-19T13:54:00Z</updated><content type="html">Heute möchte ich mal etwas über eine Funktionalität berichten, die so manch einem Entwickler, die Arbeit etwas erleichtern oder zu mindestens dem XAML-Code zu etwas mehr Übersichtlichkeit verhelfen könnte, wenn diese Funktionalität doch nur jedem bekannt wäre. Obwohl ich eigentlich sicher das diese Attached Events schon des Öfteren benutzt oder zumindest in der IntelliSense beispielsweise bei der ListView gesehen wurden. Ja, dieses sind Attached Events, Events die nicht von dem betreffendem Control...(&lt;a href="http://dotnet-forum.de/blogs/larsschmitt/archive/2009/12/19/attached-events.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://dotnet-forum.de/aggbug.aspx?PostID=8956" width="1" height="1"&gt;</content><author><name>Lars Schmitt</name><uri>http://dotnet-forum.de/members/Lars-Schmitt.aspx</uri></author><category term="WPF" scheme="http://dotnet-forum.de/blogs/larsschmitt/archive/tags/WPF/default.aspx" /></entry></feed>