Adding new shadow property to frame not working
See original GitHub issueDescription
Adding the new shadow property to a frame doesn’t do anything.
Steps to Reproduce
This is the xaml -
<ContentView Grid.Row="0"
Margin="20"
HorizontalOptions="Center"
VerticalOptions="End">
<Frame Padding="0"
CornerRadius="30"
HasShadow="False"
HeightRequest="50">
<Frame.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Offset="0.0" Color="#0ED473" />
<GradientStop Offset="1.0" Color="#17CC54" />
</LinearGradientBrush>
</Frame.Background>
<Frame.Shadow>
<Shadow Brush="red"
Opacity="1"
Radius="10"
Offset="20,20" />
</Frame.Shadow>
<HorizontalStackLayout HorizontalOptions="Fill" VerticalOptions="Fill">
<Label Grid.Column="1"
Margin="10"
FontFamily="LASolid"
FontSize="30"
HeightRequest="30"
HorizontalOptions="CenterAndExpand"
HorizontalTextAlignment="Center"
Text=""
TextColor="White"
VerticalOptions="Center"
WidthRequest="50" />
<Label Grid.Column="1"
Margin="10"
FontFamily="LASolid"
FontSize="30"
HeightRequest="30"
HorizontalOptions="CenterAndExpand"
HorizontalTextAlignment="Center"
Text=""
TextColor="White"
VerticalOptions="Center"
WidthRequest="50">
<Label.GestureRecognizers>
<TapGestureRecognizer Tapped="AddExcersie_Tapped" />
</Label.GestureRecognizers>
</Label>
</HorizontalStackLayout>
</Frame>
</ContentView>
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 11
Did you find any workaround?
No response
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
Issue with Entity Framework 7 Shadow Property
The problem is that for subsequent DbContexts all shadows properties are NULL, and so far I cannot see anyway to get it loaded....
Read more >Customising Frame shadow in Xamarin Forms. Everything ...
recently i was working on Xamarin Forms Frames shadow. Hope you know about Frame. It is an UI element which has some good...
Read more >Shadow Effect Problem
Hi, Having a strange bug(?). When adding a drop shadow effect to a component, the 'spread' property is disabled (greyed out).
Read more >Shadow - .NET MAUI
NET MAUI) Shadow class paints a shadow around a layout or view. The VisualElement class has a Shadow bindable property, of type Shadow...
Read more >Shadow and Indexer Properties - EF Core
Configuring shadow and indexer properties in an Entity Framework Core ... existing property rather than introducing a new shadow property.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can use the border control instead
Verified this on Visual Studio Enterprise 17.6.0 Preview 6.0. Repro on Windows 11 and Android emulator (13.0-API 33) with below Project: 7209.zip
If use Border control instead of Frame, shadow works well.