Created
January 5, 2018 22:04
-
-
Save Vladis466/de3ec63f1ca40783e6d3b67a4b3c271f to your computer and use it in GitHub Desktop.
Creating a shadow Backdrop using xaml in xamarin forms without having to resort to native implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Frame HorizontalOptions="FillAndExpand" Padding="1,1,1,1" Margin="5,5,5,5" HasShadow="True"> | |
<Frame.BackgroundColor> | |
<Color x:FactoryMethod="FromRgba"> | |
<x:Arguments> | |
<x:Int32>0</x:Int32> | |
<x:Int32>0</x:Int32> | |
<x:Int32>0</x:Int32> | |
<x:Int32>128</x:Int32> | |
</x:Arguments> | |
</Color> | |
</Frame.BackgroundColor> | |
</Frame> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment