Version

Working with the IsAlwaysInEditMode Property and the Editors

The Ultimate UI for WPF editor’s IsAlwaysInEditMode property defaults to True; however, the IsAlwaysInEditMode property is ignored when the editor is embedded in another control (i.e., ValuePresenter for a xamDataGrid™, xamDataCarousel™, xamDataPresenter™). Therefore, when the control is loaded, the editor enters edit mode and remains in edit mode even when it loses focus.

When the IsAlwaysInEditMode property is set to False, or the editor is hosted inside another control, it enters edit mode when it receives focus and exits edit mode when it loses focus. The exception to this rule is when an editor contains an invalid value and the InvalidValueBehavior property is set to RetainValue. In this case, the editor remains in edit mode since the editor can not have an invalid value while not in edit mode. In addition, when the IsAlwaysInEditMode is set to False, the following four events are raised: