开发者

Silverlight 3 DataGrid (w/ PagedCollectionView) RowGroupHeaderStyles not reapplied on sort

开发者 https://www.devze.com 2022-12-18 09:25 出处:网络
I am trying to use a DataGrid with hidden group row headers (so that there is a sort boundary).My style simply sets the visibility to collapsed (and I also am setting the SublevelIndent to 0开发者_Sta

I am trying to use a DataGrid with hidden group row headers (so that there is a sort boundary). My style simply sets the visibility to collapsed (and I also am setting the SublevelIndent to 0开发者_StackOverflow中文版 during the LoadingGroup event). Initial display is exactly what I want, but the data grid is sorted the appearance is unstyled, and the default indent is apparent. (When debugging the style is still present, and the sublevelindent still says 0).


I encountered this in the past also. I beleive you have to attach the LoadingRowGroup event and reset applicable properties on the e.RowGroupHeader.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号