<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Luigi Melisi &#187; WPF</title>
	<atom:link href="http://www.luigimelisi.com/category/programmazione/net_framework/wpf-net_framework-programmazione/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luigimelisi.com</link>
	<description>Development Blog : C# Code Samples,.NET Tips and Tricks</description>
	<lastBuildDate>Thu, 03 Mar 2011 09:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Free Silverlight &amp; WPF Chart Control &#8211; Visifire</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/free-silverlight-wpf-chart-control-visifire.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-silverlight-wpf-chart-control-visifire</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/free-silverlight-wpf-chart-control-visifire.html#comments</comments>
		<pubDate>Fri, 02 Jul 2010 09:15:28 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[.Net FrameWork]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software free]]></category>
		<category><![CDATA[Visifire]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=1422</guid>
		<description><![CDATA[Visifire è un componente open source per la visualizzazione di dati, sviluppato per Microsoft Silverlight e WPF.
Con Visifire potete creare facilemente ed in pochi minuti grafici animati.
Visifire è facile da usare e indipendente dalla tecnologia utilizzata lato server.]]></description>
			<content:encoded><![CDATA[<p><em><strong><a href="http://www.luigimelisi.com/wp-content/uploads/2010/07/logo_visifire.png"><img class="alignleft size-full wp-image-1426" title="logo_visifire" src="http://www.luigimelisi.com/wp-content/uploads/2010/07/logo_visifire.png" alt="logo visifire Free Silverlight & WPF Chart Control   Visifire" width="186" height="71" /></a>Visifire</strong></em> è un componente <strong>open source </strong>per la visualizzazione di dati, sviluppato per <strong>Microsoft Silverlight</strong> e <strong>WPF</strong>.</p>
<p>Con <strong>Visifire</strong> potete creare facilemente ed in pochi minuti grafici animati.<span id="more-1422"></span></p>
<p><strong>Visifire</strong> è facile da usare e indipendente dalla tecnologia utilizzata lato server.<br />
Ecco il link per il download: <em><strong><a title="http://visifire.codeplex.com/" rel="nofollow" href="http://visifire.codeplex.com/">http://visifire.codeplex.com/</a></strong></em><br />
<a rel="nofollow" href="http://www.youbuy.it/lastminute.aspx" target="_blank"><img class="aligncenter" title="YouBuy.it - Last Minute - Offerte Sottocosto" src="http://images.youbuy.it/adv/last.jpg" alt="last Free Silverlight & WPF Chart Control   Visifire" width="450" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/free-silverlight-wpf-chart-control-visifire.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[WPF] : Splash Screen aggiornabile in tempo reale</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/visual-c/wpf-splash-screen-aggiornabile-in-tempo-reale.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wpf-splash-screen-aggiornabile-in-tempo-reale</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/visual-c/wpf-splash-screen-aggiornabile-in-tempo-reale.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 10:50:09 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[4.0]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Visual C#]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[applicazioni]]></category>
		<category><![CDATA[articolo]]></category>
		<category><![CDATA[progresso]]></category>
		<category><![CDATA[splash screen]]></category>
		<category><![CDATA[sviluppo]]></category>
		<category><![CDATA[tempo]]></category>
		<category><![CDATA[tempo reale]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=782</guid>
		<description><![CDATA[Durante lo sviluppo di applicazioni WPF , può essere utile ricorrere a Splash Screen aggiornabili in tempo reale che notifichino all’utente lo stato di avanzamento del caricamento dei vari moduli, ad esempio tramite elementi di testo piuttosto che barre di progresso.
In questo post mostreremo una  [...]]]></description>
			<content:encoded><![CDATA[<p>Durante lo sviluppo di applicazioni <strong>WPF</strong> , può essere utile ricorrere a <strong>Splash Screen aggiornabili in tempo reale</strong> che notifichino all’utente lo stato di avanzamento del caricamento dei vari moduli, ad esempio tramite elementi di testo piuttosto che barre di progresso.<br />
In questo post mostreremo una possibile implementazione di uno <strong>Splash Screen usando il pattern MVVM</strong>. <br />
<span id="more-782"></span>Per semplificare, supponiamo di posizionare nel Main la pesantissima sequenza di caricamento della nostra applicazione:<br />
<strong><a title="Splash Screen aggiornabile in tempo reale" rel="nofollow" href="http://blogs.ugidotnet.org/dsantarelli/archive/2010/05/30/wpf-mvvm-e-splash-screen.aspx" target="_blank">[LEGGI L' ARTICOLO COMPLETO ....... ]</a></strong><a rel="nofollow" href="http://www.youbuy.it/lastminute.aspx" target="_blank"><img class="aligncenter" title="YouBuy.it - Last Minute - Offerte Sottocosto" src="http://images.youbuy.it/adv/last.jpg" alt="last [WPF] : Splash Screen aggiornabile in tempo reale " width="450" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/visual-c/wpf-splash-screen-aggiornabile-in-tempo-reale.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF ed ereditarietà visuale</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/wpf-ed-ereditarieta-visuale.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wpf-ed-ereditarieta-visuale</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/wpf-ed-ereditarieta-visuale.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:53:50 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[BaseView]]></category>
		<category><![CDATA[controlli]]></category>
		<category><![CDATA[ControlTemplate]]></category>
		<category><![CDATA[Ereditarietà]]></category>
		<category><![CDATA[Expression]]></category>
		<category><![CDATA[Expression Blend]]></category>
		<category><![CDATA[finestre]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[myapplication]]></category>
		<category><![CDATA[Setter]]></category>
		<category><![CDATA[visuale]]></category>
		<category><![CDATA[Window]]></category>
		<category><![CDATA[x type]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=601</guid>
		<description><![CDATA[Una delle “mancanze” che alcuni lamentano in WPF è l’assenza dell’ereditarietà visuale delle Window e dei UserControl.
In realtà esistono semplici meccanismi che permettono di ottenere lo stesso risultato.
Una delle tecniche è quella di utilizzare un template per stilare una BaseWindow o un  [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>Una delle “mancanze” che alcuni lamentano in <strong>WPF è l’assenza dell’ereditarietà visuale delle Window e dei UserControl.</strong></p>
<p>In realtà esistono semplici meccanismi che permettono di ottenere lo stesso risultato.<span id="more-601"></span></p>
<p>Una delle tecniche è quella di utilizzare un template per stilare una BaseWindow o un BaseControl:</p>
<p>Supponiamo di avere una BaseView (Window) base dalla quale facciamo derivare tutte le finestre della nostra applicazione:</p>
<p>Definiremo una classe BaseView che eredita da Window e avrà tutti i metodi/propriertà necessarie:</p>
<blockquote><p><strong>public class BaseView : Window</strong></p>
<p><strong>{</strong></p>
<p><strong>// &#8230;</strong></p>
<p><strong>}</strong></p></blockquote>
<p>Questa è solo una classe e non ha parte visuale.</p>
<p>La parte “visuale” la disegno con Expression Blend come stile della BaseView e vado a ridefinire il ControlTemplate mettendo al suo interno tutti i controlli che voglio vedere in tutte le finestre che ereditano:</p>
<blockquote><p><strong>&lt;Style TargetType=&#8221;{x:Type Common:BaseView}&#8221;&gt;</strong></p>
<p><strong>&lt;Setter Property=&#8221;Template&#8221;&gt;</strong></p>
<p><strong>&lt;Setter.Value&gt;</strong></p>
<p><strong>&lt;ControlTemplate TargetType=&#8221;{x:Type Common:BaseView}&#8221;&gt;</strong></p>
<p><strong>&lt;StacckPanel&gt;</strong></p>
<p><strong>&lt;!&#8211; Altri controlli: toolbar? &#8211;&gt;</strong></p>
<p><strong>&lt;ContentPresenter/&gt;</strong></p>
<p><strong>&lt;!&#8211; Altri controlli: footer? &#8211;&gt;</strong></p>
<p><strong>&lt;/StackPanel&gt;</strong></p>
<p><strong>&lt;/ControlTemplate&gt;</strong></p>
<p><strong>&lt;/Setter.Value&gt;</strong></p>
<p><strong>&lt;/Setter&gt;</strong></p>
<p><strong>&lt;/Style&gt;</strong></p></blockquote>
<p>Questo stile viene poi applicato a tutte i controlli di tipo BaseView che avranno quindi tutti un aspetto comune.</p>
<p>Quindi per sfruttare il template è sufficiente che le finestre dell&#8217;applicazione ereditino da BaseView:</p>
<blockquote><p><strong>&lt;MyApplication:BaseView&gt;</strong></p>
<p><strong>&#8230;.</strong></p>
<p><strong>&lt;/MyApplication:BaseView&gt;</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/wpf-ed-ereditarieta-visuale.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Come Espandere una Window Wpf solo orizzontalmente o verticalmente.</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/come-espandere-una-window-wpf-solo-orizzontalmente-o-verticalmente.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=come-espandere-una-window-wpf-solo-orizzontalmente-o-verticalmente</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/come-espandere-una-window-wpf-solo-orizzontalmente-o-verticalmente.html#comments</comments>
		<pubDate>Sun, 10 Jan 2010 18:44:53 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[DependencyProperty]]></category>
		<category><![CDATA[fillHeight]]></category>
		<category><![CDATA[Height]]></category>
		<category><![CDATA[MyWindow]]></category>
		<category><![CDATA[PropertyChangedCallback]]></category>
		<category><![CDATA[Rect]]></category>
		<category><![CDATA[tmp]]></category>
		<category><![CDATA[typeof]]></category>
		<category><![CDATA[Window]]></category>
		<category><![CDATA[workArea]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=563</guid>
		<description><![CDATA[Per massimizzare un Window WPF solo orizzontalmento verticalmente basta usare queste poche e semplici linee di codice :


public partial class MyWindow : Window   
{   
    public MyWindow()   
    {   
        InitializeComponent();   
        FillHeight();   
    }  [...]]]></description>
			<content:encoded><![CDATA[<h2>Per massimizzare un Window WPF solo orizzontalmento verticalmente basta usare queste poche e semplici linee di codice :</h2>
<div>
<blockquote>
<li><strong><em>public partial class MyWindow : Window   </em></strong></li>
<li><strong><em>{   </em></strong></li>
<li><strong><em>    public MyWindow()   </em></strong></li>
<li><strong><em>    {   </em></strong></li>
<li><strong><em>        InitializeComponent();   </em></strong></li>
<li><strong><em>        FillHeight();   </em></strong></li>
<li><strong><em>    }   </em></strong></li>
<li><strong><em>    private void FillHeight()   </em></strong></li>
<li><strong><em>    {   </em></strong></li>
<li><strong><em>        PropertyChangedCallback tmpChanged =   </em></strong></li>
<li><strong><em>            (source, args) =&gt;   </em></strong></li>
<li><strong><em>                {   </em></strong></li>
<li><strong><em>                    var workArea = (Rect)args.NewValue;   </em></strong></li>
<li><strong><em>                    this.Height = workArea.Height;   </em></strong></li>
<li><strong><em>                };   </em></strong></li>
<li><strong><em>        DependencyProperty tmp = DependencyProperty.Register(&#8220;tmp&#8221;, typeof (Rect), typeof (Window), new PropertyMetadata(new PropertyChangedCallback(tmpChanged)));   </em></strong></li>
<li><strong><em>        this.SetResourceReference(tmp, SystemParameters.WorkAreaKey);   </em></strong></li>
<li><strong><em>    }   </em></strong></li>
<li><strong><em>}  </em></strong></li>
</blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/come-espandere-una-window-wpf-solo-orizzontalmente-o-verticalmente.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Definire una colonna Button all’interno di una ListView con WPF</title>
		<link>http://www.luigimelisi.com/programmazione/net_framework/definire-una-colonna-button-all%e2%80%99interno-di-una-listview-con-wpf.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=definire-una-colonna-button-all%25e2%2580%2599interno-di-una-listview-con-wpf</link>
		<comments>http://www.luigimelisi.com/programmazione/net_framework/definire-una-colonna-button-all%e2%80%99interno-di-una-listview-con-wpf.html#comments</comments>
		<pubDate>Tue, 29 Dec 2009 20:10:20 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[.Net FrameWork]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[DataContext]]></category>
		<category><![CDATA[DataTemplate]]></category>
		<category><![CDATA[ListView]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=490</guid>
		<description><![CDATA[Supponiamo di avere una classe Person ed una collezione di essa impostata come DataContext di una Window.


public class Person
{
    public string Nome { get; set; }
    public int Eta { get; set; }
}
public partial class MyWindow : Window
{
    public MyWindow()
    {
         [...]]]></description>
			<content:encoded><![CDATA[<p>Supponiamo di avere una classe<strong> Person</strong> ed una collezione di essa impostata come <strong>DataContext</strong> di una Window.</p>
<div>
<pre style="BACKGROUND-COLOR: whitesmoke; FONT-FAMILY: Verdana">
<div><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> Person
{
    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">string</span><span style="COLOR: #000000"> Nome { </span><span style="COLOR: #0000ff">get</span><span style="COLOR: #000000">; </span><span style="COLOR: #0000ff">set</span><span style="COLOR: #000000">; }
    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Eta { </span><span style="COLOR: #0000ff">get</span><span style="COLOR: #000000">; </span><span style="COLOR: #0000ff">set</span><span style="COLOR: #000000">; }
}</span></div>
<div style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px"><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">partial</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> MyWindow : Window
{
    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> MyWindow()
    {
        InitializeComponent();
        DataContext </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> GetPeople();
    }</span><span style="COLOR: #000000"><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">5</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)
            people.Add(</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> Person { Nome </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Name</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> i, Eta </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">i });</span></span><span style="COLOR: #000000"> <span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> people;
    }
}</span></span>
 

In <strong>WPF</strong> per inserire in una ListView una colonna contenente un <strong>Button</strong> dobbiamo modificare il Template dell cella tramite un <strong>DataTemplate</strong>.
<div style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px">
<pre style="BACKGROUND-COLOR: whitesmoke; FONT-FAMILY: Consolas">
<div><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">ListView ItemsSource</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{Binding}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
    </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">ListView.View</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
        </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">GridView</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
            </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">GridViewColumn</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
                </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">GridViewColumn.CellTemplate</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
                    </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">DataTemplate</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
                        </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">Button Content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Delete</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/&gt;</span><span style="COLOR: #000000">
                    </span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">DataTemplate</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
                </span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">GridViewColumn.CellTemplate</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
            </span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">GridViewColumn</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
            </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">GridViewColumn Header</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"No</span><span style="COLOR: #000000">me</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">
                            Width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">
                            DisplayMemberBinding</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{Binding Path=Nome}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/&gt;</span><span style="COLOR: #000000">
            </span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">GridViewColumn Header</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Età</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">
                            Width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">
                            DisplayMemberBinding</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{Binding Path=Eta}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/&gt;</span><span style="COLOR: #000000">
        </span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">GridView</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
    </span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">ListView.View</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">
</span><span style="COLOR: #000000">&lt;/</span><span style="COLOR: #000000">ListView</span><span style="COLOR: #000000">&gt;</span></div>
</pre>
</div>
<p>Il risultato sarà quello mostrato nella seguente figura.</p>
<p><img class="alignleft size-medium wp-image-491" title="Wpf Listview colonna button" src="http://www.luigimelisi.com/wp-content/uploads/2009/12/tips_wpf_listview_button-300x185.jpg" alt="tips wpf listview button 300x185 Definire una colonna Button all’interno di una ListView con WPF " width="300" height="185" /></div>
<p><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> ObservableCollection</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">Person</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"> GetPeople()<br />
    {<br />
        var people </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> ObservableCollection</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">Person</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">();</span></pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/programmazione/net_framework/definire-una-colonna-button-all%e2%80%99interno-di-una-listview-con-wpf.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

