Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnEditDesigner Class : EditContent Event |
public event EventHandler<AnnEditContentEventArgs> EditContent
'Declaration
Public Event EditContent As EventHandler(Of AnnEditContentEventArgs)
'Usage
Dim instance As AnnEditDesigner Dim handler As EventHandler(Of AnnEditContentEventArgs) AddHandler instance.EditContent, handler
public event EventHandler<AnnEditContentEventArgs> EditContent
public void addEditListener(AnnEditContentListener listener) public void removeEditListener(AnnEditContentListener listener)
add_EditContent(function(sender, e)) remove_EditContent(function(sender, e))
The event handler receives an argument of type AnnEditContentEventArgs containing data related to this event. The following AnnEditContentEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Bounds | Gets the bounding rectangle of the AnnObject entering content-editing mode in screen/device coordinates. |
Cancel | Gets or sets a value indicating whether edit mode should be canceled. |
TargetObject | Gets the AnnObject that is entering content-editing mode. |
The event handler receives an AnnEditContentEventArgs class containing data related to this event. The following AnnEditContentEventArgs properties provide information specific to this event:
Property | Description |
---|---|
Cancel |
Gets or sets a value indicating whether the editing operation should be canceled. |
Bounds |
Gets the bounds of the content currently being edited. |
TargetObject |
Gets the AnnObject object currently being edited. |