forked from microsoft/Windows-universal-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimCard.xaml
43 lines (43 loc) · 2.36 KB
/
SimCard.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
-->
<Page
x:Class="MobileBroadband.SimCard"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:MobileBroadband"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<ScrollViewer VerticalScrollMode="Enabled" HorizontalScrollMode="Disabled">
<StackPanel Orientation="Vertical">
<TextBlock x:Name="InputTextBlock1" TextWrapping="Wrap" Style="{StaticResource ScenarioDescriptionTextStyle}" HorizontalAlignment="Left">
<TextBlock.Text>
This scenario demonstrates the use of the Mobile Broadband APIs used by network operators. This interface allows you to access the SIM Card in the default modem.
</TextBlock.Text>
</TextBlock>
<Button Content="Get SIM Card Information" Name="btnGetUICC" Click="btnGetUICC_Click"/>
<TextBlock Name="txtUICCInformation" TextWrapping="WrapWholeWords" Style="{StaticResource BasicTextStyle}"/>
<ListBox x:Name="listUiccApps" Margin="10,0,20,0" VerticalAlignment="Top"
Padding="0,0,27,0" SelectionChanged="listUiccApps_SelectionChanged">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<TextBlock Name="txtUICCAppId" TextWrapping="WrapWholeWords" Style="{StaticResource BasicTextStyle}"/>
<Button Content="Get Iccid Record Information" Name="btnGetRecord" Click="btnGetRecord_Click" IsEnabled="False"/>
<TextBlock Name="labelRecordInformation" TextWrapping="WrapWholeWords" Style="{StaticResource BasicTextStyle}"/>
</StackPanel>
</ScrollViewer>
</Page>