Share via


DiagramKeyPressEventArgs.TargetItem Property

Gets or sets the DiagramItem that the key event is intended for.

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 TargetItem As DiagramItem
public DiagramItem TargetItem { get; set; }
public:
property DiagramItem^ TargetItem {
    DiagramItem^ get ();
    void set (DiagramItem^ value);
}
member TargetItem : DiagramItem with get, set
function get TargetItem () : DiagramItem 
function set TargetItem (value : DiagramItem)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

DiagramKeyPressEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace