Cannot set NextPage=null programatically

Wizard for WPF Forum

Posted 7 years ago by Gordon Zhang
Version: 12.2.0570
Avatar

Hi There,

I have the situation like these:

1) In The Wizard, I have about 10 wizard page defined

2) Every page can be the last page according to the selection in previous page

3) When this page (if it is suppose to be the last page) is selected I want Next Button to be disabled and Finish Button to be enabled.

So if I can set the NextPage on this page to null then I may be able to do that. But the situation is that this is not allowed according to the document.

My questions is how can I achieve this (the page to be the last one on the sequence) without remove the other pages from the wizard?

This is a very basic situation/condition I am not sure why we cannot do it.

 

By the way, I am using WPF 12.1 version.

Thanks

Gordon

Comments (1)

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

Hi Gordon,

If you set NextPage to null (which is the default), it will just go to the next page in sequence.

If you look at our Button States QuickStart, you can see how to alter enabled/visibility states of the buttons.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.