InPlaceTextEditor Class

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::InPlaceTextEditor

public ref class InPlaceTextEditor sealed : IDisposable

NameDescription
System_CAPS_pubpropertyCommitOnEscape

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.

System_CAPS_pubpropertyEditorControl

Gets the Windows control used to edit the text.

System_CAPS_pubpropertyEditorFont

Gets the custom font for this editor. This property may return null in which case the edit control's default font will be used.

System_CAPS_pubpropertyField

Gets the field that is currently being edited or the field whose subfield is currently being edited.

System_CAPS_pubpropertyHorizontalAlignment

Gets or sets a value indicating the horizontal alignment of the text in the editor.

System_CAPS_pubpropertySystem_CAPS_staticInstance

Gets the singleton InPlaceTextEditor instance.

System_CAPS_pubpropertyInUse

Gets a value indicating whether the edit control is currently active and in use.

System_CAPS_pubpropertyMultipleLineEditingEnabled

Gets or sets a value indicating whether the text editor supports multiline editing.

System_CAPS_pubpropertyShape

Gets the shape whose field or subfield is currently being edited.

System_CAPS_pubpropertySubField

Gets the subfield that is currently being edited. This can be null.

System_CAPS_pubpropertyWordWrap

Gets or sets a value indicating whether the editor should word wrap.

NameDescription
System_CAPS_pubmethodCancelPendingEdit()

Cancels a pending edit if any.

System_CAPS_pubmethodCanEditValue(ShapeElement^, ShapeField^, ShapeSubField^, DiagramClientView^)

Returns a value indicating whether the value of this field can be edited.

System_CAPS_pubmethodCommitPendingEdit()

Commits a pending edit if any.

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the InPlaceTextEditor class.

System_CAPS_pubmethodEditValue(ShapeElement^, ShapeField^, ShapeSubField^, DiagramClientView^)

Invokes the in-place editor.

System_CAPS_pubmethodEditValue(ShapeElement^, ShapeField^, ShapeSubField^, DiagramClientView^, PointD)

Invokes the in-place editor, setting the caret using the specified mouse position.

System_CAPS_pubmethodEditValue(ShapeElement^, ShapeField^, ShapeSubField^, DiagramClientView^, String^)

Invokes the in-place editor, replacing the text with the specified text.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetFont(String^, Single, FontStyle, GraphicsUnit, DiagramClientView^)

Sets the font for this editor.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventBeginEdit

Event fired when in-place editing begins.

System_CAPS_pubeventEndEdit

Event fired when in-place editing is finished.

A singleton in-place editor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: