I have a small gui with a listbox. The listbox is bound to a collection. The user can edit an item in the collection using an "Edit" window.
The Edit window is bound to the selected object in the listbox. One of the validations I need to perform is to make sure the user does not enter a name for an item which has already been used (meaning it can't be used by any of the other objects in the listbox).
Is there a good way to do this with WPF validation?