Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Created Unassigned: WizardPage.Enter and WizardPage.Leave events not raise when Wizard.CurrentPage changes. [21595]

$
0
0
Hi

I think you shold modify Wizard.OnCurrentPageChanged method to this:

```
protected virtual void OnCurrentPageChanged(WizardPage oldValue, WizardPage newValue)
{
if (oldValue != null)
oldValue.RaiseEvent(new RoutedEventArgs(WizardPage.LeaveEvent));
RaiseRoutedEvent(Wizard.PageChangedEvent);
if (newValue != null)
newValue.RaiseEvent(new RoutedEventArgs(WizardPage.EnterEvent));
}
```

Not sure if its works or not, but please make it possible.
thank you.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>