A shorter (perhaps not the most optimal) fix: // Get around the 'private' marker on 'virtualListSize' field using reflection if (virtualListSizeFieldInfo == null) { var fields = typeof(ListView).GetFields(BindingFlags.NonPublic | BindingFlags.Instance); virtualListSizeFieldInfo = Array.Find(fields, field => field.Name.EndsWith("virtualListSize")); System.Diagnostics.Debug.Assert(virtualListSizeFieldInfo != null); }
Hello, on DataTreeListView, I wonder if there exists some event or workaround, which is firing on selection changing (before node is actually changed), and a way to cancel selection change - basically like validating event, just for selection changing. Tried to capture current object on each selectionChanged event, and select back previous item as a validation-like, but it does not really fit the condition, since selection has already been changed. Thanks.
Hello guys, Situation: DataTreeListView bind to datasource, hierarchical checkboxes....
I have overcome this issue by writing recurring function which expands all childrens...
Hello guys, I came here for help to figure out how to solve an issue I fell into....