wpf - How to show Column Header of empty collection -


how show column headers empty collection has properties column. properties of collection known in run time. datagrid's autogeneratecolumns set true.

update:

it bug .net framework 4.0. when check sp1 of vs2010 fixed.

how handle this?

the best way in opinion test datasource , if empty add null data item give headers, set row[0].isvisible = false hide row. need undo when data has rows


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -