Set default state of a EtoCollapsibleSection

Is it possible to set the state of an EtoCollapsibleSection to expanded or to collapsed by code?


I think you are looking for

Yes, I have seen that too, but that is read only I think.


You are deriving from EtoCollapsibleSection. You are supposed to override InitiallyExpanded, return true for it.

override public bool InitiallyExpanded => true;

Ohhh, this was declared virtual.

Sorry, you are right, it should have been obvious.