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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property DefaultCommitOnEscape As Boolean
'Usage
Dim instance As TextField
Dim value As Boolean
value = instance.DefaultCommitOnEscape
instance.DefaultCommitOnEscape = value
public bool DefaultCommitOnEscape { get; set; }
public:
property bool DefaultCommitOnEscape {
bool get ();
void set (bool value);
}
public function get DefaultCommitOnEscape () : boolean
public function set DefaultCommitOnEscape (value : boolean)
Property Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.