Así que tengo un pequeño WPF XAML que obtiene los títulos de mi fuente RSS y los coloca en un ListBox.¿Cómo hacer un gráfico de carga en WPF XAML?
Sin embargo, la carga tarda unos 2 segundos.
¿Cómo puedo haber puesto algún tipo de gráfico de hilado AJAXy en el ListBox hasta que los datos estén allí?
Aquí está el código:
<Window x:Class="WpfApplication5.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<StackPanel>
<StackPanel.Resources>
<XmlDataProvider x:Key="ExternalColors" Source="http://www.tanguay.info/web/rss" XPath="/"/>
</StackPanel.Resources>
<TextBlock Text="RSS Feeds:"/>
<ListBox Name="lbColor" Height="200" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Source={StaticResource ExternalColors}, XPath=//item/title}"/>
<TextBlock Text="You selected this feed:"/>
<TextBox
Text="{Binding ElementName=lbColor, Path=SelectedValue}"
Background="{Binding ElementName=lbColor, Path=SelectedValue}">
</TextBox>
</StackPanel>
</Window>
¿mataste tu blog? – bevacqua