ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / ColorPickerControl Class / ForceEyeDropperToolToHide Property

In This Topic
    ForceEyeDropperToolToHide Property
    In This Topic
    Gets or sets if the eye dropper tool option is to hide.
    Syntax
    public bool ForceEyeDropperToolToHide {get; set;}
    Public Property ForceEyeDropperToolToHide As Boolean
    Remarks
    The color picker must be hosted on a non-modal dialog such as a dockpane in order for the Eye Dropper tool to be able to be used. Set this property to true when you are specifically wanting to hide the Eye Dropper tool on the color picker; for example on your own custom ProWindow that is displayed in a modal fashion.

    Note, the application may hide the Eye Dropper tool by default in some scenarios. For example the tool will not be visible if the color picker is on a propertySheet.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also