File tree Expand file tree Collapse file tree 4 files changed +29
-11
lines changed
components/OpacityMaskView Expand file tree Collapse file tree 4 files changed +29
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- <Project Sdk =" MSBuild.Sdk.Extras/3.0.23" >
1
+ <Project >
2
+ <Import Project =" $([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition =" Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
3
+
2
4
<PropertyGroup >
3
5
<ToolkitComponentName >OpacityMaskView</ToolkitComponentName >
4
6
</PropertyGroup >
Original file line number Diff line number Diff line change 6
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7
7
xmlns : local =" using:OpacityMaskViewExperiment.Samples"
8
8
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
9
+ xmlns : media =" using:Microsoft.UI.Xaml.Media"
9
10
mc : Ignorable =" d" >
10
11
11
12
<StackPanel Spacing =" 12" >
41
42
<Image Source =" ms-appx:///Assets/Owl3.jpg" />
42
43
</Border >
43
44
</controls : OpacityMaskView >
45
+ <controls : OpacityMaskView >
46
+ <controls : OpacityMaskView .OpacityMask>
47
+ <Rectangle >
48
+ <Rectangle .Fill>
49
+ <media : RadialGradientBrush >
50
+ <GradientStop Offset =" 0.2" Color =" Transparent" />
51
+ <GradientStop Offset =" 0.8" Color =" White" />
52
+ <GradientStop Offset =" 0.8" Color =" Transparent" />
53
+ <GradientStop Offset =" 0.9" Color =" Transparent" />
54
+ <GradientStop Offset =" 0.9" Color =" White" />
55
+ </media : RadialGradientBrush >
56
+ </Rectangle .Fill>
57
+ </Rectangle >
58
+ </controls : OpacityMaskView .OpacityMask>
59
+ <Border Width =" 96"
60
+ Height =" 96"
61
+ BorderBrush =" Green"
62
+ BorderThickness =" 1"
63
+ CornerRadius =" 12" >
64
+ <Image Source =" ms-appx:///Assets/Owl3.jpg" />
65
+ </Border >
66
+ </controls : OpacityMaskView >
44
67
</StackPanel >
45
68
</Page >
Original file line number Diff line number Diff line change 1
- <Project Sdk =" MSBuild.Sdk.Extras/3.0.23" >
1
+ <Project >
2
+ <Import Project =" $([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition =" Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
3
+
2
4
<PropertyGroup >
3
5
<ToolkitComponentName >OpacityMaskView</ToolkitComponentName >
4
6
<Description >This package contains OpacityMaskView.</Description >
You can’t perform that action at this time.
0 commit comments