WPF的DataGrid的DataGridCell的Tooltip提示-WPF实践1
一、DataGridCell的Tooltip实现DataGridTextColumn 不可以直接像Label 那样直接加Tooltip ,所以我们需要使用其他的方式来实现1、使用DataGrid.CellStyle实现Tooltip显示自身内容<DataGrid ItemsSource="{Binding MaindemoItems}" AutoGenerateColumns="False" IsReadOnly="True" Width="AUTO">
原创
2021-09-21 10:22:48 ·
2977 阅读 ·
0 评论