ArcFM Desktop Overview > Designer Overview > Compatible Unit Filters |
You can create custom compatible unit (CU) filters for use with the CU Administration tool (ArcCatalog) and the CU Filter (ArcMap). This section includes developer samples that illustrate how to create a custom CU filter as well as documentation for the necessary API. Starting with 10.1, you can also add, remove, and edit palettes using the CuPalette class methods.
When creating a custom filter, you'll inherit from CuFilter<T> and CuFilterViewModel. The CuFilterViewModel has a reference to a class of type CuFilter (the Filter property) and a View. The View is a WPF UserControl. It can be any control you like, but most in most cases will be a text box or a combo box. The <T> for the CuFilter is a .Net Generic Type. This type defines the type of the Criteria property on the CuFilter (e.g., whether it's an int, string, etc.).