<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:ex_ShadowLabel"
             x:Class="ex_ShadowLabel.MainPage">

        <VerticalStackLayout
            Padding="30,0"
            Spacing="25" 
            BackgroundColor="LightSalmon">
            <Label
                Text="Hello, World!"
                Style="{StaticResource Headline}"
                TextColor="DarkSalmon">
                <Label.Shadow>
                    <Shadow
                        Opacity="1"
                        Radius="4"
                        Offset="4,2">
                        <Shadow.Brush>
                            <LinearGradientBrush>
                                <GradientStop Offset="0.1" Color="Black" />
                                <GradientStop Offset="1.0" Color="Gray" />
                            </LinearGradientBrush>
                        </Shadow.Brush>
                    </Shadow>
                </Label.Shadow>
            </Label>

        </VerticalStackLayout>

</ContentPage>
