嗨,我们如何在 Wpf 的列表视图项目中将所有文本居中?
<ListView x:Name="FoldersListView" Margin="57,150,161,139" Style="{DynamicResource ListViewStyle1}" Background="#FFEDDEDE" IsSynchronizedWithCurrentItem="True">
<ListView.View>
<GridView>
<GridViewColumn Header="Folder" Width="300" DisplayMemberBinding ="{Binding Path = FolderPath}" />
<GridViewColumn Header="Status" Width="100" DisplayMemberBinding="{Binding Path = FolderStatus}"/>
</GridView>
</ListView.View>
</ListView>