protected RoutedValidateEventArgs RaiseEvValidateEvent() { RoutedValidateEventArgs routedValidateEventArgs = new RoutedValidateEventArgs(); routedValidateEventArgs.RoutedEvent = EvValidateEvent; RaiseEvent(routedValidateEventArgs); SyntaxError = routedValidateEventArgs.SyntaxErrorExp; return(routedValidateEventArgs); }
private void Submit() { RoutedValidateEventArgs routedValidateEventArgs = RaiseEvValidateEvent(); if (SyntaxError == null) { ExitEditMode(); RaiseEvSubmitEvent(); } }