|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | + |
| 3 | +<dui:ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
| 5 | + xmlns:dui="http://dips.com/mobile.ui" |
| 6 | + xmlns:localizedStrings="clr-namespace:Components.Resources.LocalizedStrings" |
| 7 | + xmlns:local="clr-namespace:Components.AccessibilitySamples.VoiceOverSamples.NavigationListItemSamples" |
| 8 | + x:Class="Components.AccessibilitySamples.VoiceOverSamples.NavigationListItemSamples.NavigationListItemStandaloneSamples" |
| 9 | + x:DataType="local:NavigationListItemAccessibilitySamplesViewModel" |
| 10 | + Title="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Standalone_Title}"> |
| 11 | + |
| 12 | + <dui:ContentPage.BindingContext> |
| 13 | + <local:NavigationListItemAccessibilitySamplesViewModel /> |
| 14 | + </dui:ContentPage.BindingContext> |
| 15 | + |
| 16 | + <dui:ScrollView Padding="{dui:Sizes size_4}"> |
| 17 | + <dui:VerticalStackLayout Spacing="{dui:Sizes size_4}"> |
| 18 | + <dui:Label Text="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Standalone_Description}" |
| 19 | + Style="{dui:Styles Label=UI200}" |
| 20 | + TextColor="{dui:Colors color_text_subtle}" /> |
| 21 | + |
| 22 | + <dui:VerticalStackLayout Spacing="{dui:Sizes size_0}"> |
| 23 | + <dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Appointment_Title}" |
| 24 | + Subtitle="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Appointment_Subtitle}" |
| 25 | + HasBottomDivider="True" |
| 26 | + Command="{Binding ItemActivatedCommand}" /> |
| 27 | + |
| 28 | + <dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_TestResults_Title}" |
| 29 | + Subtitle="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_TestResults_Subtitle}" |
| 30 | + HasBottomDivider="True" |
| 31 | + Command="{Binding ItemActivatedCommand}" /> |
| 32 | + |
| 33 | + <dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Medications_Title}" |
| 34 | + SemanticProperties.Description="{x:Static localizedStrings:LocalizedStrings.VoiceOver_NavigationListItem_Medications_Description}" |
| 35 | + Command="{Binding ItemActivatedCommand}" /> |
| 36 | + </dui:VerticalStackLayout> |
| 37 | + </dui:VerticalStackLayout> |
| 38 | + </dui:ScrollView> |
| 39 | + |
| 40 | +</dui:ContentPage> |
0 commit comments