diff --git a/components/Shimmer/OpenSolution.bat b/components/Shimmer/OpenSolution.bat new file mode 100644 index 000000000..24dc1cb49 --- /dev/null +++ b/components/Shimmer/OpenSolution.bat @@ -0,0 +1,3 @@ +@ECHO OFF + +powershell ..\..\common\ProjectHeads\GenerateSingleSampleHeads.ps1 -componentPath %CD% %* \ No newline at end of file diff --git a/components/Shimmer/samples/Assets/Owl.jpg b/components/Shimmer/samples/Assets/Owl.jpg new file mode 100644 index 000000000..1c8f39f70 Binary files /dev/null and b/components/Shimmer/samples/Assets/Owl.jpg differ diff --git a/components/Shimmer/samples/Dependencies.props b/components/Shimmer/samples/Dependencies.props new file mode 100644 index 000000000..e622e1df4 --- /dev/null +++ b/components/Shimmer/samples/Dependencies.props @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/Shimmer/samples/MultiTarget.props b/components/Shimmer/samples/MultiTarget.props new file mode 100644 index 000000000..67f1c2743 --- /dev/null +++ b/components/Shimmer/samples/MultiTarget.props @@ -0,0 +1,9 @@ + + + + uwp;wasdk; + + diff --git a/components/Shimmer/samples/Shimmer.Samples.csproj b/components/Shimmer/samples/Shimmer.Samples.csproj new file mode 100644 index 000000000..7d86b0dd9 --- /dev/null +++ b/components/Shimmer/samples/Shimmer.Samples.csproj @@ -0,0 +1,16 @@ + + + Shimmer + + + + + + + + + + PreserveNewest + + + \ No newline at end of file diff --git a/components/Shimmer/samples/Shimmer.md b/components/Shimmer/samples/Shimmer.md new file mode 100644 index 000000000..d74d3249f --- /dev/null +++ b/components/Shimmer/samples/Shimmer.md @@ -0,0 +1,17 @@ +--- +title: Shimmer +author: JustinXinLiu +description: An easy to use Shimmer control to indicate something is loading. +keywords: Shimmer, Loading, Control, Layout +dev_langs: + - csharp +category: Controls +subcategory: Layout +discussion-id: 381 +issue-id: 390 +--- +# Shimmer + +The Shimmer control can be used to communicate to the user a certain UI element is fetching data or is loading. `Duration` can be set to set the length of the animation. + +> [!SAMPLE ShimmerSample] diff --git a/components/Shimmer/samples/ShimmerSample.xaml b/components/Shimmer/samples/ShimmerSample.xaml new file mode 100644 index 000000000..d63a64289 --- /dev/null +++ b/components/Shimmer/samples/ShimmerSample.xaml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + +