mirror of
https://github.com/onyx-and-iris/Lottery.git
synced 2024-11-24 15:10:46 +00:00
onyx-and-iris
e1ab2087a2
add SemanticScreenReader Announcement on button clicked. It reads the text from the NumbersLabel
19 lines
724 B
XML
19 lines
724 B
XML
<?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"
|
|
x:Class="Lottery.MainPage">
|
|
|
|
<ScrollView>
|
|
<VerticalStackLayout
|
|
Padding="30,0"
|
|
Spacing="25">
|
|
<Picker x:Name="LotteryPicker" Title="Kind of Lottery" SelectedIndexChanged="LotteryPicker_SelectedIndexChanged" />
|
|
|
|
<Label x:Name="NumbersLabel" Text="Click Spin button to generate" HorizontalOptions="Center" FontSize="Medium" />
|
|
|
|
<Button x:Name="SpinButton" Text="Spin" Clicked="SpinButton_Clicked"/>
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
|
|
</ContentPage>
|