Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Button Content="Next" Command="{Binding BookingWizard.BookingCommands.ValidateCustomerDetailsForm}" />
- private BookingCommands _BookingCommands;
- public BookingCommands BookingCommands { get { return _BookingCommands; } set { _BookingCommands = value; RaisePropertyChanged("BookingCommands"); } }
- public ICommand ValidateCustomerDetailsForm
- {
- get
- {
- if (_ValidateCustomerForm == null)
- {
- _ValidateCustomerForm = new BookingCommand(
- param => ValidateCustomerDetails()
- );
- }
- return _ValidateCustomerForm;
- }
- }
- private void ValidateCustomerDetails()
- {
- //do something here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement