Hi Constantine,
If you asking about the expand/collapse functionality that is performed by clicking on the top right button you need to set the State property of the navigation pane control:
nNavigationPane1.State =
NNavigationPane.PaneState.CollapsedRegards,
Angel.