Dear Support members,
I have Win XAF application, with an XPO data model that implements programmatically data versioning through table relationships.
As a consequence, I use ListViews with MasterDetailMode set to "ListViewAndDetailView", with list views showing the versioning records (basically date and user) and the corresponding object details in the DetailView.
All this works perfectly well.
But the point is end-users would like to hide the versioning history for normal use.
Ideally, I would love to have a docking panel where versioning (e.g. listview) can be hidden or displayed when necessary. But I couldn't achieve this, as it seems way too complex.
So I tried to hide the ListView through a controller (gridView.GridControl.Hide();), but then the detailView is empty.
Alternatively I tried to put the size (either width or height) to zero, or to change the height to display only one row, but it just doesn't work :
C#System.Drawing.Size myMinSize = gridView.GridControl.MinimumSize;
myMinSize.Height = 5;
gridView.GridControl.Height = 5;
I spent a lot of time digging in the forum but I couldn't find suitable information.
Help would be much appreciated!
Thanks,
Philippe
Hello Philippe,
We need additional time to answer your question. Please bear with us. We will get back to you as soon as possible.