Current filter:
                                You should refresh the page.
                                0
                                  • Usually I use ErrorType.Information for suggested but not required input edits on form. They are not mandatory, but dep.HasErrors returns true, so I have to do something like:

                                          if (dep.HasErrors)
                                          {
                                            CurrencyManager cm = BindingContext[xpc] as CurrencyManager;
                                            foreach (Binding b in cm.Bindings)
                                            {
                                              if (dep.GetErrorType(b.Control) == ErrorType.Critical)
                                              {
                                                return true;
                                              }
                                            }
                                          }
                                          return false;

                                    Proposed Solution:

                                    Add overloaded HasErrors(ErrorType aErrorType) method.

                                0

                                Hello Dusan,

                                Thank you for the suggestion. We'll research this task further and consider introducing the mentioned feature in future updates of the XtraEditors Library.

                                Thanks,
                                Stan.

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.