This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICustomizationFilter Interface > ICustomizationFilter.OnCustomizationEvent Method (ArcObjects .NET 10.4 SDK) |
Occurs when certain types of customization occur.
[Visual Basic .NET] Public Function OnCustomizationEvent ( _ ByVal custEventType As esriCustomizationEvent, _ ByVal eventCtx As Object _ ) As Boolean
[C#] public bool OnCustomizationEvent ( esriCustomizationEvent custEventType, object eventCtx );
In the Customize dialog, Macros, Menus, New Menus, and UIControls are four special categories that are formatted with the square bracket ([]) to indicate they are associated with special functionalities.
However, the eventCtx parameter always supplies the unformatted category name for custEventType esriCEAddCategory even though they are enclosed in square brackets in the Customize dialog.
ICustomizationFilter Interface | esriCustomizationEvent Constants | IApplication.LockCustomization Method