This document is archived and information here might be outdated.  Recommended version.


ITOCControlEvents.OnEndLabelEdit Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControlEvents Interface > ITOCControlEvents.OnEndLabelEdit Event
ArcGIS Developer Help

ITOCControlEvents.OnEndLabelEdit Event

Fires when label editing ends.

[Visual Basic .NET]
Public Event OnEndLabelEdit As OnEndLabelEditEventHandler
[C#]
public event OnEndLabelEditEventHandler OnEndLabelEdit
[C++]
HRESULT OnEndLabelEdit(
  long X,
  long Y,
  BSTR newLabel,
  Boolean* CanEdit
);
[C++]
Parameters
X [in]

X is a parameter of type long Y [in]
Y is a parameter of type long newLabel [in]
newLabel is a parameter of type BSTR CanEdit [in, out]
CanEdit is a parameter of type bool*

Product Availability

Available with ArcGIS Engine.

Description

canEdit specifies a boolean indicating whether the label can be edited. Set canEdit to False to reset the label to its previous value. By default all labels can be editied. Use the HitTest method to determine what kind of item label is being editied.

newLabel specifies a string containing the new label given by the user.

See Also

ITOCControlEvents Interface