c# - How to prevent listView on escalating columns and bind it to ViewModel? -


i have c# wpf listview generates columns base on date range.. how prevent escalating columns? how cant mange single instance on generating columns? listview

and how can bind on view model?

is issue each time click "generate" button appends columns? if case thing should adding is

private void createcolumns() {     myview.columns.clear();     //... } 

to beginning of createcolumns method.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -