We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Show Backstage at Form Load

Hi,

I am trying to show the BackStageView direct when the application (Ribbonform) loads. I used to code from the knowledge base, but it does not work and the BackStage menubutton disappears... But maybe I do something wrong?

I have attached a sample to reproduce what happens...

Thanks a lot!

Regards,

Matthijs

Attachment: Ribbon_ShowBackstage_cf446675.zip

3 Replies

PB Priyanga Balasubramaniam Syncfusion Team April 26, 2017 09:15 AM UTC

Hi Matthijs,

Thank you for using Syncfusion products.

We have prepared the simple sample in VB to meet your requirement. In this sample, we have hooked the Form Load event in code behind and called "ShowBackStage" method in this event.

Please download the sample from the below location.

Sample: BackStageSample

Regards,
Priyanga B



MH Matthijs Huisman April 26, 2017 10:03 AM UTC

Thanks again! It works now!

Also for others: I had the handler of the Load event hard coded (design time):

 Private Sub Main_Load(sender As Object, e As EventArgs) Handles MyBase.Load

Adding the handler in runtime solved the problem:

Public Sub New()
        InitializeComponent()
        AddHandler Me.Load, AddressOf Main_Load
    End Sub

Private Sub Main_Load(sender As Object, e As EventArgs)
.....

Regards,

Matthijs


PB Priyanga Balasubramaniam Syncfusion Team April 27, 2017 04:05 AM UTC

Hi Matthijs,

Thanks for your update.

Let us know if you need any other assistance.

Regards,
Priyanga B

Loader.
Live Chat Icon For mobile
Up arrow icon