This is not how property grid works and customized. You don't show or hide the grid features, you change the data model. The idea is: you assign
SelectedObject
property of the
PropertyGrid
, and it presents your object. How to customize it: you use some different object, which only represents your target object indirectly, through implementing of the interface
System.ComponentModel.ICustomTypeDescriptor
. This way, you can disable showing the custom editor for font object already available in the .NET Framework Class Library (FCL), and present the font in some different way: for example, you can show a font as a child node of the grid tree, and show its properties as separate sub-nodes.
This technique is described in more detain in my past answer:
How to get response when click PropertyGrid[
^].
—SA