[Category("Appearance")] [DefaultValue(true)] [Description("Whether this subgraph is in an expanded state")] public bool IsExpanded {get; set;}
[Category("Appearance")] [DefaultValue(true)] [Description("Whether this subgraph is in an expanded state")] public bool IsExpanded {get; set;}
this.State == GoSubGraphState.Expanded
. The setter is implemented as a call to either Collapse or Expand, depending on the value of State and whether the new value is false or true.