2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
Hide the floating toolbarIn the RibbonControlAdv, when you switch to backstage, you can hide the Floating Toolbar by using the property, Visible, in the CommandBar. When the Floating Toolbar is MainFrameBarManager, it can be hidden by using the property, BarVisible. C# //The event is raised once backstage visibility is changed. void BackStage_VisibleChanged(object sender, EventArgs e) { if (!backStageView1.BackStage.Visible) { //Shows the toolbars. this.commandBar1.Visible = true; this.mainFrameBarManager1.BarVisible = true; } else if (backStageView1.BackStage.Visible == true) { //Hides the toolbars. this.commandBar1.Visible = false; this.mainFrameBarManager1.BarVisible = false; } }
VB 'The event is raised once backstage visibility is changed. Private Sub BackStage_VisibleChanged(ByVal sender As Object, ByVal e As EventArgs) If Not backStageView1.BackStage.Visible Then 'Shows the toolbars. Me.commandBar1.Visible = True Me.mainFrameBarManager1.BarVisible = True ElseIf backStageView1.BackStage.Visible = True Then 'Hides the toolbars. Me.commandBar1.Visible = False Me.mainFrameBarManager1.BarVisible = False End If End Sub
Figure 1: Floating Toolbar in RibbonForm Figure 2: Floating Toolbar hidden Samples: |
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.