I was wondering if it is possible to have the debugger display be the text for the class in the PropertyGrid?
I cant seem to find this answer anywhere.
Here is an example of what I have.
[DebuggerDisplay("FPS = {FPS}")]
[TypeConverter(typeof(ExpandableObjectConverter))]
public class DebugModule : Module
{
public int FPS {get; set;}
}
This module is held in an Engine class so when I set the propertyGrid.SelectedObject = engineInstance, I would like to see in the property grid
Engine
+ DebugModuel | "FPS = 60"
FPS | 60