Nevron Forum

Removing NPageNavigator from NDrawingView

https://www.nevron.com/Forum/Topic12043.aspx

By Raquel Hayner - Saturday, February 25, 2017

I can do the following to hide the page navigator from a drawing view:

m_DrawingView.PageNavigator.Visibility = ENVisibility.Hidden;


However, it still leaves the big space at the bottom empty. How can I hide the page navigator and hide that space away?
By Nevron Support - Tuesday, February 28, 2017

Hi,

Setting the visibility of a widget to Hidden, only makes it invisible, but it still occupies a given area in its container. To both hide the widget and free (collapse) the area it occupies, you should set it visibility to Collapsed:

m_DrawingView.PageNavigator.Visibility = ENVisibility.Collapsed;