ArcGIS Pro 2.7 API Reference Guide
RegisterCustomizationFilter Method

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class : RegisterCustomizationFilter Method
The custom filter that will receive notifications.
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 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members