ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework Namespace / FrameworkApplication Class / RegisterCustomizationFilter Method
The custom filter that will receive notifications.

In This Topic
    RegisterCustomizationFilter Method
    In This Topic
    Adds the supplied customization filter to the application's customization model.
    Syntax
    public static bool RegisterCustomizationFilter( 
       CustomizationFilter filter
    )
    Public Shared Function RegisterCustomizationFilter( _
       ByVal filter As CustomizationFilter _
    ) As Boolean

    Parameters

    filter
    The custom filter that will receive notifications.

    Return Value

    Returns true if the filter was successfully registered.
    Remarks
    CustomizationFilters give developers the opportunity to limit functionality. Before any DAML defined command is executed, the registered CustomizationFilters are consulted; if any filter returns true, the sequence is stopped and the command is not executed.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also