Sample - Compatible Unit Filters

Version 2

    Versions: 10.0.3 - current

    Product Availability: ArcFM Desktop (Designer)


    The Sample CU Filter is visible only in ArcMap (not in ArcCatalog). This custom filter searches by CU name for the user-defined criteria.


    How to Implement:

    1. You may modify the code sample. This step is not required.
    2. Compile the code sample. 


    How to Use:

    This sample filter is available only in ArcMap. Use the Sample CU Search filter to search for CUs by name.

    1. In ArcMap, open a design and open the CU Filter.
    2. Click the Add Filters button.


    1. In the Add Filters dialog, select Sample CU Search and click Add. This adds the sample filter to the Filter Information section of the Compatible Unit Filter window.
    2. Enter a value in the Sample CU Search field to search the list for a specific CU by name. The search locates any CUs that contain the text entered in the field.




    All of the files shown below are required for the project to compile successfully.


    SampleCuFilter.csprojC# project containing the code to generate the CU filter.
    SampleFilter.csClass module that defines the sample filter.
    SampleFilterView.xamlThe XAML that defines the user interface for the sample filter.
    SampleFilterView.xaml.csThe class module behind the XAML that defines the user interface.
    SampleFilterViewModel.csThe class module that integrates the filter with the user interface.
    AssemblyInfo.csClass module to support the tool.