Is your feature request related to a problem? Please describe.
I really like the idea of the TableView as a slim, readonly table. I understand that it is supposed to be minimal, but right now I have no way to show/hide columns defined in axaml.
Describe the solution you'd like
The DataGridColumn provides an IsVisible property. I would like to have something similar for the TableViewColumn as well.
<TableViewColumn
Header="Optional"
Binding="{CompiledBinding OptionalValue}"
Width="*"
IsVisible="{CompiledBinding ShowOptionalColumn}"
/>
Describe alternatives you've considered
Right now, I am setting the Width=0 manually from code behind. That works in theory; however, I have to know the width in code-behind, and I would like to avoid the code-behind entirely if possible.
Additional context
Similar usecase to this ticket even though that is about a layout issue, not a feature request.
If this Feature was not excluded on purpose, I would be happy to help with the implementation
Is your feature request related to a problem? Please describe.
I really like the idea of the TableView as a slim, readonly table. I understand that it is supposed to be minimal, but right now I have no way to show/hide columns defined in axaml.
Describe the solution you'd like
The DataGridColumn provides an
IsVisibleproperty. I would like to have something similar for the TableViewColumn as well.Describe alternatives you've considered
Right now, I am setting the
Width=0manually from code behind. That works in theory; however, I have to know the width in code-behind, and I would like to avoid the code-behind entirely if possible.Additional context
Similar usecase to this ticket even though that is about a layout issue, not a feature request.
If this Feature was not excluded on purpose, I would be happy to help with the implementation