I know I can get the current node with 'var top = Node.GetCurrent();' but I cant seem to find where I can get the related properties, specifically 'umbracoNaviHide'. I'd like to know how to access the same data that is accessible from XSLT in a user control
To get properties you need to use the GetProperty() method.
var top = Node.GetCurrent(); top.GetProperty("umbracoNaviHide").Value;