Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

datagrid 不显示行号,表头的那个全选图标能不能隐藏 #1653

Open
yangl1025 opened this issue Sep 21, 2024 · 3 comments
Open

Comments

@yangl1025
Copy link

微信截图_20240921121225

@yangl1025
Copy link
Author

2
如果不显示行号,这玩意是不是太丑了

@wanghu572
Copy link

wanghu572 commented Sep 30, 2024

这样设置:
<DataGrid x:Name="dataGrid1" HeadersVisibility="All" ScrollViewer.CanContentScroll="False" Style="{StaticResource DataGridBaseStyle }" hc:DataGridAttach.ShowRowNumber="True" RowHeaderWidth="60" ItemsSource="{Binding ListData}"/>

@L-MAX6
Copy link

L-MAX6 commented Nov 22, 2024

多去看代码 hc:DataGridAttach.ShowSelectAllButton="False"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants