ListItemSubField.EditValue 方法

定义

重载

EditValue(ShapeElement, ShapeField, DiagramClientView)

调用就地编辑器。

EditValue(ShapeElement, ShapeField, DiagramClientView, PointD)

调用就地编辑器,使用指定的鼠标位置设置插入符号。

EditValue(ShapeElement, ShapeField, DiagramClientView, String)

调用就地编辑器,将文本替换为指定的文本。

EditValue(ShapeElement, ShapeField, DiagramClientView)

调用就地编辑器。

public:
 override void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public override void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Overrides Sub EditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView)

参数

parentShape
ShapeElement

包含此子字段的 ShapeElement 实例。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

view
DiagramClientView

将承载编辑器的视图。

适用于

EditValue(ShapeElement, ShapeField, DiagramClientView, PointD)

调用就地编辑器,使用指定的鼠标位置设置插入符号。

public:
 override void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, Microsoft::VisualStudio::Modeling::Diagrams::PointD mousePosition);
public override void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, Microsoft.VisualStudio.Modeling.Diagrams.PointD mousePosition);
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Overrides Sub EditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView, mousePosition As PointD)

参数

parentShape
ShapeElement

包含此子字段的 ShapeElement 实例。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

view
DiagramClientView

将承载编辑器的视图。

mousePosition
PointD

相对于关系图左上角的鼠标位置(单位为世界单位)。

适用于

EditValue(ShapeElement, ShapeField, DiagramClientView, String)

调用就地编辑器,将文本替换为指定的文本。

public:
 void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::String ^ replacementText);
public void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, string replacementText);
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * string -> unit
Public Sub EditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView, replacementText As String)

参数

parentShape
ShapeElement

包含此子字段的 ShapeElement 实例。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

view
DiagramClientView

将承载编辑器的视图。

replacementText
String

应该替换编辑器内容的文本。

适用于