Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Diagram for .NET
»
Programmatically Hide Ribbon
Programmatically Hide Ribbon
Post Reply
Programmatically Hide Ribbon
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Ashley Davy
Ashley Davy
posted 4 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 36,
Visits: 119
Is there a way to programmatically hide the ribbon when using the NDrawingViewWithRibbonControl (at some point I just want to see the drawing surface)? If not how would I transfer the drawing on the current NDrawingViewWithRibbonControl to another NDrawingViewControl?
Thanks,
Ashley
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 4 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Ashley,
Indeed the code included a shortcut function that is not present in the current release. This must work with 2019.1:
NRibbon ribbon = nDrawingViewWithRibbonControl1.Widget.GetFirstDescendant<NRibbon>();
ribbon.Visibility = ENVisibility.Collapsed;
We hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Programmatically Hide Ribbon
Ashley Davy
-
4 Years Ago
Hi, To hide the ribbon of a drawing view with ribbon control, you can...
Nevron Support
-
4 Years Ago
The code that was suggested shows errors. The class...
Ashley Davy
-
4 Years Ago
Hello, I could not get the sample code you gave to compile. I had to...
Ashley Davy
-
4 Years Ago
Hi Ashley, Indeed the code included a shortcut function that is not...
Nevron Support
-
4 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search