Grid c set of columns and columns - they are created dynamically (the user enters their number and columns and columns are programmatically created.), Respectively, they have no names. Those. How to remove a column programmatically in a grid knowing its number?
Grid
not the most convenient container. Better take something derived fromItemsControl
and manage throughItemsSource
. - VladD