开发者

Xceed GridControl

I have an Xceed gridcontrol, with a GroupByRow control on there. When the groups are populated, the GroupByRow width, is only as width as the columns on there. There does not seem to be an option to expand the width to the 开发者_如何学Gosize of the actual gridcontrol.

Does anybody know a way around this?


I would suggest setting the last Column Width to * so that you can stretch the last Column to the end. This should stretch the GroupByControl all the way to the end of the DataGridControl.


Is the source code for the control available to you? A little tweaking of the Datagrid style resources might help.

Either ways, I guess you could try binding the width to some other control with 'predicatable'(term used loosely) width.

Assume, the DataGrid is contained within a Grid named "gridContaingDataGrid", Then..

<GroupByRow  Width="{Binding Path=ActualWidth, ElementName=gridContaingDataGrid}" .../>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜