fix: property grid can not show whole content issue.
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user