|
Group: Forum Members
Posts: 36,
Visits: 119
|
Hello, I could not get the sample code you gave to compile. I had to change it to the following. However when I run this code the ribbon variable is null. Please advise on what I need to do to hide the ribbon programmatically. Draw1 is a NDrawingViewWithRibbonControl.
Thanks, Ashley
Dim ribbon As NRibbon = Draw1.View.GetFirstDescendant(Of NRibbon)() ribbon.Visibility = ENVisibility.Collapsed
|