dahall / AeroWizard

Library for easy creation of custom and Aero Wizards. Aero Wizard strictly follows Microsoft guidelines and uses Visual Styles to get visual theming.
MIT License
113 stars 32 forks source link

Cancel button should allow for setting its CausesValidation property for use when data binding #4

Closed astrohart closed 6 years ago

astrohart commented 6 years ago

Hi,

Love the AeroWizard control, am not quite sure if it's being maintained or not.

Anyhow, I was using this control and data-bound a C# class to a TextBox within one of the pages. I find that the property of the C# object bound to the TextBox gets updated even when I click the wizard's Cancel button, which is not necessarily what I want.

I suggest modifying the code to allow the caller of the wizard control to get/set the Cancel button's CausesValidation property.

I have cloned the code and will submit a pull request.

Brian

dahall commented 6 years ago

I am maintaining it still, though it has not had many changes in the last few years. I am happy to merge your PR if you can find a way to do while maintaining compatibility with current code (non-breaking changes only).

dahall commented 6 years ago

Pushed to NuGet and this site. Need to fix problem with Marketplace and then I'll update the VSIX there.