Space between back and next button in wizard

Wizard for WPF Forum

Posted 10 years ago by Net Display Systems - Development, Net Display Systems
Version: 13.2.0591
Avatar

Hi,

I want to adjust the space between the back and next button in the wizard to navigate. At this moment the space is zero.

What is the best way to accomplish this?

 

 <wiz:Wizard x:Name="MyAlertWizard" WindowTitleBaseText="Alert" PageSequenceType="Stack" FinishButtonClosesWindow="False" CancelButtonClosesWindow="False" HelpButtonVisible="False"
                Cancel="MyAlertWizard_Cancel" SelectedPageChanging="MyAlertWizard_SelectedPageChanging" Finish="MyAlertWizard_Finish" WindowTitleBehavior="PageTitle"
                CancelButtonText="{x:Static res:Text.Cancel}" FinishButtonText="{x:Static res:Text.Finish}"  NextButtonText="{x:Static res:Text.Next_}" BackButtonText="{x:Static res:Text.Back}">
    

Comments (1)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Arthur,

You would have to retemplate the WizardButtonContainer control.  Since you have licensed WPF Studio, you can download the default style/templates from your account and find the one for WizardButtonContainer in Wizard.xaml.  Then put a copy of it in your app's resources, pull out the x:Key attribute, and it will now be an implicit style.  Then adjust the margin on the Next button for what you need.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.