diff --git a/components/OpacityMaskView/OpenSolution.bat b/components/OpacityMaskView/OpenSolution.bat new file mode 100644 index 000000000..814a56d4b --- /dev/null +++ b/components/OpacityMaskView/OpenSolution.bat @@ -0,0 +1,3 @@ +@ECHO OFF + +powershell ..\..\tooling\ProjectHeads\GenerateSingleSampleHeads.ps1 -componentPath %CD% %* \ No newline at end of file diff --git a/components/OpacityMaskView/samples/Assets/Owl3.jpg b/components/OpacityMaskView/samples/Assets/Owl3.jpg new file mode 100644 index 000000000..1c8f39f70 Binary files /dev/null and b/components/OpacityMaskView/samples/Assets/Owl3.jpg differ diff --git a/components/OpacityMaskView/samples/Assets/icon.png b/components/OpacityMaskView/samples/Assets/icon.png new file mode 100644 index 000000000..8435bcaa9 Binary files /dev/null and b/components/OpacityMaskView/samples/Assets/icon.png differ diff --git a/components/OpacityMaskView/samples/Dependencies.props b/components/OpacityMaskView/samples/Dependencies.props new file mode 100644 index 000000000..e622e1df4 --- /dev/null +++ b/components/OpacityMaskView/samples/Dependencies.props @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/OpacityMaskView/samples/MultiTarget.props b/components/OpacityMaskView/samples/MultiTarget.props new file mode 100644 index 000000000..18f6c7c98 --- /dev/null +++ b/components/OpacityMaskView/samples/MultiTarget.props @@ -0,0 +1,9 @@ + + + + uwp;wasdk; + + diff --git a/components/OpacityMaskView/samples/OpacityMaskView.Samples.csproj b/components/OpacityMaskView/samples/OpacityMaskView.Samples.csproj new file mode 100644 index 000000000..de93cdc71 --- /dev/null +++ b/components/OpacityMaskView/samples/OpacityMaskView.Samples.csproj @@ -0,0 +1,16 @@ + + + OpacityMaskView + + + + + + + + + + PreserveNewest + + + diff --git a/components/OpacityMaskView/samples/OpacityMaskView.md b/components/OpacityMaskView/samples/OpacityMaskView.md new file mode 100644 index 000000000..77de6143e --- /dev/null +++ b/components/OpacityMaskView/samples/OpacityMaskView.md @@ -0,0 +1,18 @@ +--- +title: OpacityMaskView +author: h82258652 +description: A control that applies an opacity mask to its content. +keywords: OpacityMaskView, Control, Layout +dev_langs: + - csharp +category: Controls +subcategory: Layout +discussion-id: 490 +issue-id: 0 +icon: assets/icon.png +--- +# OpacityMaskView + +The `OpacityMaskView` control applies an opacity mask to its content. The mask is defined by the `OpacityMask` property, which can contain a `Brush` object. The `OpacityMask` property is typically set to a `LinearGradientBrush` or `ImageBrush` object. + +> [!Sample OpacityMaskViewSample] diff --git a/components/OpacityMaskView/samples/OpacityMaskViewSample.xaml b/components/OpacityMaskView/samples/OpacityMaskViewSample.xaml new file mode 100644 index 000000000..546a72d77 --- /dev/null +++ b/components/OpacityMaskView/samples/OpacityMaskViewSample.xaml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + +