Handle does not show its style


I have a handle of type GoCollapsibleHandle.
I Create the handle with the properties:

handle.Pen = new Pen(Color.DarkBlue, 1.5f);
handle.Brush = Brushes.Yellow;
handle.Style = GoCollapsibleHandleStyle.PlusMinus;
handle.Location = this.Location;

and afterwards add the handle to my GoSimpleNode:

The problem is that the handle does not show its style (i.e PlusMinus).

How can i solve this?


You need to implement the IGoCollapsible interface in your node class, so that you can decide what to do when the user clicks on the GoCollapsibleHandle.