How do I add more Buttons along with the existing Navigation Buttons?
You can add more buttons to the wizard control along with the existing navigation buttons by creating a new button and then setting the GridBagLayout constraints for the button to position it correctly along with other buttons using GridPosX and GridPosY.
Here is the code snippet:
C#
// To add a new button
Button btn = new Button();
btn.Text = "New Button";
this.wizardControl1.Controls.Add(btn);
// Set the constraints for the newly created Button
this.wizardControl1.GridBagLayout.GetConstraintsRef(btn).GridPosX = 6;
this.wizardControl1.GridBagLayout.GetConstraintsRef(btn).GridPosY = 5;
VB
' To add a new button
Dim btn As Button = New Button()
btn.Text = "New Button"
Me.wizardControl1.Controls.Add(btn)
' Set the constraints for the newly created Button
Me.wizardControl1.GridBagLay.GetConstraintsRef(btn).GridPosX = 6
Me.wizardControl1.GridBagLay.GetConstraintsRef(btn).GridPosY = 5
Conclusion
I hope you enjoyed learning about how do I add more Buttons along with the existing Navigation Buttons.
You can refer to our WinForms Wizard Control feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!