fix: property grid can not show whole content issue.

This commit is contained in:
NaBian committed 2022-08-20 17:32:21 +08:00
1 parent c198b61649
commit 3e58f8adbf
1 file changed
+2
@@ -11,6 +11,8 @@ public class PropertyItemsControl : ListBox
#if !NET40
VirtualizingPanel.SetIsVirtualizingWhenGrouping(this, true);
VirtualizingPanel.SetScrollUnit(this, ScrollUnit.Pixel);
#else
System.Windows.Controls.ScrollViewer.SetCanContentScroll(this, false);
#endif
}
}