Unplanned
Last Updated: 01 Jan 2020 15:22 by ADMIN
Martin Ivanov
Created on: 01 Jan 2020 15:21
Category: Wizard
Type: Bug Report
1
Wizard: AllowFinish property doesn't work when a single page is used

If you define a single WizardPage in the WizardPages collection and set its AllowFinish property to False, the Finish button is enabled.

To work this around, set the AllowFinish property in the Loaded event handler of the WizardPage control.

private void WizardPage_Loaded(object sender, RoutedEventArgs e)
{
	var page = (WizardPage)sender;
	page.AllowFinish = false;
}

0 comments