Kurz und schmerzlos ein Beispiel für einen Ladekreis (engl. progress ring) mit C# und XAML für eine Windows 8-App.
Markup (XAML)
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <ProgressRing x:Name="MyLoadingBar" HorizontalAlignment="Center" VerticalAlignment="Center" Width="120" Height="120" Foreground="White" /> </Grid> |
Code Behind (C#)
this.InitializeComponent(); this.MyLoadingBar.IsActive = true; |