ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ColorStyleItem Class
Members Example

In This Topic
    ColorStyleItem Class
    In This Topic
    Represents a color saved in a style.
    Object Model
    ColorStyleItem ClassCIMColor Class
    Syntax
    Example
    How to search for colors in a style
    {
        //Search for colors
        //Note: styleProjectItem was created above in the variable initialization section
        //Note: Needs QueuedTask to run
        styleProjectItem.SearchColors("searchString");
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
          ArcGIS.Desktop.Mapping.StyleItem
             ArcGIS.Desktop.Mapping.ColorStyleItem

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also