Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

how to set checkbox column's header as checkbox #291

Open
AmberHan opened this issue May 24, 2024 · 1 comment
Open

how to set checkbox column's header as checkbox #291

AmberHan opened this issue May 24, 2024 · 1 comment

Comments

@AmberHan
Copy link

how to set checkbox column's header as checkbox
<DataTemplate> <LightCheckBox Margin="8 0 0 0" HorizontalAlignment="Left" IsChecked="{ReflectionBinding IsSelected}" Command="{ReflectionBinding ElementName=View, Path=DataContext.UpdateAllCheckedCommand}" /> </DataTemplate>

@keynes1981
Copy link

Columns= { new CheckBoxColumn<yourmodel>(new CheckBox(),x=>x.IsChecked,(m,x)=>m.IsChecked=x,...) }

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

No branches or pull requests

2 participants