简体   繁体   中英

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 size 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}" .../>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM