Skip to content

Commit e4b0c50

Browse files
committed
Add OrbitLoadingIndicator Sample
1 parent 3da4b12 commit e4b0c50

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Page x:Class="DevWinUIGallery.Views.OrbitLoadingIndicatorPage"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6+
xmlns:dev="using:DevWinUI"
7+
xmlns:local="using:DevWinUIGallery"
8+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9+
mc:Ignorable="d">
10+
<ScrollViewer>
11+
<StackPanel Margin="10" dev:PanelAttach.ChildrenTransitions="Default" Spacing="10">
12+
<local:ControlExample DocPage="controls/orbitLoadingIndicator">
13+
<local:ControlExample.Xaml>
14+
<x:String>&lt;dev:OrbitLoadingIndicator IsBusy="true" /&gt;</x:String>
15+
</local:ControlExample.Xaml>
16+
<local:ControlExample.Pane>
17+
<ToggleSwitch x:Name="TgIsBusy"
18+
Header="Is Busy"
19+
IsOn="True" />
20+
</local:ControlExample.Pane>
21+
<dev:OrbitLoadingIndicator Width="64"
22+
Height="64"
23+
HorizontalAlignment="Center"
24+
VerticalAlignment="Center"
25+
IsBusy="{x:Bind TgIsBusy.IsOn, Mode=OneWay}" />
26+
</local:ControlExample>
27+
</StackPanel>
28+
</ScrollViewer>
29+
</Page>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace DevWinUIGallery.Views;
2+
3+
public sealed partial class OrbitLoadingIndicatorPage : Page
4+
{
5+
public OrbitLoadingIndicatorPage()
6+
{
7+
InitializeComponent();
8+
}
9+
}

0 commit comments

Comments
 (0)