Xaml Windows phone 8.1列表视图复选框位置
我有一个图像列表视图 当显示用于选择这些图像的复选框时,这些复选框与顶部对齐。但是我想对齐图像中心的复选框 如何对齐listview中的复选框Xaml Windows phone 8.1列表视图复选框位置,xaml,listview,checkbox,windows-phone-8.1,windows-phone,Xaml,Listview,Checkbox,Windows Phone 8.1,Windows Phone,我有一个图像列表视图 当显示用于选择这些图像的复选框时,这些复选框与顶部对齐。但是我想对齐图像中心的复选框 如何对齐listview中的复选框 <ListView Name="myList" ItemsSource="{Binding PetrolCompany}"> <ListView.ItemTemplate> <DataTemplate>
<ListView Name="myList" ItemsSource="{Binding PetrolCompany}">
<ListView.ItemTemplate>
<DataTemplate>
<Button BorderThickness="1">
<Grid VerticalAlignment="Center" Height="100">
<Grid.RowDefinitions>
<RowDefinition Height="3*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Image Source="{Binding ImageSourse}"/>
<TextBlock Text="{Binding CompanyName}"/>
</Grid>
</Button>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
欢迎使用StackOverflow:)请熟悉如何提问。您应该为我们提供一个您已经尝试过的代码。祝你好运;)我添加了code@DawidPi我给了你密码,但一年后你仍然没有回答。请及时查看@CloyMonis!:D谢谢…欢迎收看StackOverflow:)请熟悉如何提问。您应该为我们提供一个您已经尝试过的代码。祝你好运;)我添加了code@DawidPi我给了你密码,但一年后你仍然没有回答。请及时查看@CloyMonis!:D谢谢。。。