IsAlwaysInEditMode Property

Gets/sets whether this editor is always in edit mode but is ignored when the editor is embedded inside another control. Default value is False.
Public Property IsAlwaysInEditMode As Boolean
public bool IsAlwaysInEditMode {get; set;}

This property defaults to False. When set to False, the editor will exit edit mode when the control looses focus and re-enter edit mode when it receives focus. As a result it will also raise the EditModeStarting, EditModeStarted, EditModeEnding and EditModeEnded events.

If you set this property to True, the editor will always remain in edit mode. However note that this property is ignored when the editor is embedded inside another control (i.e. is hosted inside a ValuePresenter). When it's embedded, it will exit edit mode as directed by the hosting control.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also