I need to get the value of IconDisplayMode of the Component, which, however stays on “application”. I need to be able to read the real Display mode to use it in the overriden Render() function. Can I somehow get the current DisplayMode of the document?
if (Owner.IconDisplayMode == GH_IconDisplayMode.icon)
{
//only run when icons are shown
}
else if (Owner.IconDisplayMode == GH_IconDisplayMode.name)
{
//only run when names are shown}