Share via


TextField.DefaultCommitOnEscape Property

Gets or sets a value indicating whether the Escape key commits the edit. If true, the Enter key will be used as a CRLF for in-place editing.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Property DefaultCommitOnEscape As Boolean
public bool DefaultCommitOnEscape { get; set; }
public:
property bool DefaultCommitOnEscape {
    bool get ();
    void set (bool value);
}
member DefaultCommitOnEscape : bool with get, set
function get DefaultCommitOnEscape () : boolean 
function set DefaultCommitOnEscape (value : boolean)

Property Value

Type: Boolean

.NET Framework Security

See Also

Reference

TextField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace