30 lines
1.0 KiB
XML
30 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Page
|
|
x:Class="RustTools.Views.ListViewPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="using:RustTools.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
|
mc:Ignorable="d">
|
|
|
|
<Page.Resources>
|
|
<DataTemplate x:Key="ContactListViewTemplate" x:DataType="local:HomePage">
|
|
<TextBlock
|
|
Margin="0,5,0,5"
|
|
x:Phase="1"
|
|
Text="{x:Bind Name}" />
|
|
</DataTemplate>
|
|
</Page.Resources>
|
|
<Grid>
|
|
<ListView
|
|
x:Name="BaseExample"
|
|
Width="350"
|
|
Height="400"
|
|
BorderBrush="{ThemeResource SystemControlForegroundBaseMediumLowBrush}"
|
|
ItemTemplate="{StaticResource ContactListViewTemplate}" />
|
|
|
|
</Grid>
|
|
</Page>
|