C# 向ListViewItem添加边框将隐藏内容
因此,我有一个C# 向ListViewItem添加边框将隐藏内容,c#,xaml,listview,C#,Xaml,Listview,因此,我有一个ListView和一个ListView项目,它有一个圆角边框: <ListView> <ListViewItem x:Name="easy_listViewItem" Height="35" Tag="easy" Margin="0,0,15,0" BorderBrush="White" FontSize="15.333" Content="Easy" Foreground="Black" Background="#FF27AE60" FontWeight="B
ListView
和一个ListView项目
,它有一个圆角边框:
<ListView>
<ListViewItem x:Name="easy_listViewItem" Height="35" Tag="easy" Margin="0,0,15,0" BorderBrush="White" FontSize="15.333" Content="Easy" Foreground="Black" Background="#FF27AE60" FontWeight="Bold">
<ListViewItem.Template>
<ControlTemplate>
<Border CornerRadius="2" BorderThickness="2" BorderBrush="#FF27AE60">
<ItemsPresenter></ItemsPresenter>
</Border>
</ControlTemplate>
</ListViewItem.Template>
</ListViewItem>
但是,似乎由于边框的缘故
我再也看不到列表视图项的内容
,有人知道为什么吗