Delen via


InPlaceTextEditor.CommitOnEscape 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

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

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

InPlaceTextEditor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace