This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControlEvents Interface > ITOCControlEvents.OnEndLabelEdit Event (ArcObjects .NET 10.4 SDK) |
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,
VARIANT_BOOL* 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 VARIANT_BOOL
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.