Esri Brushes



    Language:      C# and Visual Basic
    Subject:       Framework
    Contributor:   ArcGIS Pro SDK Team
    Organization:  Esri, http://www.esri.com
    Date:          11/24/2019
    ArcGIS Pro:    2.5
    Visual Studio: 2017, 2019


This page lists the XAML brushes that can be used to style ArcGIS Pro add-in text blocks, control states, backgrounds and borders. In most cases, if you use the available Esri styles for various WPF controls, you will not need to specify brushes to style the controls. Refer to ProGuide: Style Guide for the available Esri styles. Light theme brushes are shown.


Text foreground

The table below lists the brushes to style the foreground property of WPF TextBlock elements in ArcGIS Add-ins.

SolidColorBrushColorDescription
Esri_TextMenuBrush #FFFFFF Foreground brush for text in menu items
Esri_TextStyleDisabledBrush #959595 Foreground brush for disabled text.
Esri_TextStyleSubduedBrush #6A6A6A Foreground brush for sub-text or informational text
Esri_TextCaptionInactiveBrush #6A6A6A Foreground brush for title text in inactive window or panes
Esri_TextStyleDefaultBrush #4A4A4A Foreground brush for default text
Esri_TextInfoBrush #4A4A4A Foreground brush for text in tooltips and screentips
Esri_TextSelectionInactiveHighlightBrush #4A4A4A Foreground brush for text in inactive list items and tabs
Esri_TextControlBrush #4A4A4A Foreground brush for text in controls such as Buttons, Combobox, text fields
Esri_TextGalleryItemBrush #4A4A4A Foreground brush for text in gallery items
Esri_TextStyleEmphasisBrush #2B2B2B Foreground brush for emphasised text such as headers
Esri_TextCaptionActiveBrush #007AC2 Foreground brush for title text in active window or panes
Esri_TextSelectionHighlightBrush #007AC2 Foreground brush for text in active/selected list items or tabs

Control background and borders (State behavior)

The table below lists the brushes to style the background and border properties of WPF controls in ArcGIS Add-ins. These brushes should be used to define the hover and pressed states of the controls.

SolidColorBrushColorDescription
Esri_BackgroundHoverBrush #DFEFFA Background brush for hover state of controls such as buttons, list items, command links
Esri_BackgroundSelectedBrush #DFEFFA Background brush for selected state of controls such as buttons, list items, command links
Esri_BackgroundHoverSelectedBrush #C7EBFF Background brush for hover selected state of controls such as buttons, list items, command links
Esri_BackgroundPressedBrush #9BCCEC Background brush for pressed state of controls such as buttons, list items, command links
Esri_BorderHoverBrush #77BDE7 Border brush for hover state of controls such as buttons, list items, command links
Esri_BorderSelectedBrush #007AC2 Border brush for selected state of controls such as buttons, list items, command links
Esri_BorderHoverSelectedBrush #007AC2 Border brush for hover selected state of controls such as buttons, list items, command links
Esri_BorderPressedBrush #007AC2 Border brush pressed state of controls such as buttons, list items, command links
Esri_BorderBrush #BFBFBF Border brush for any control.

Control background

The table below lists the brushes to style the background property of WPF container elements(dockpanes, windows, galleries, etc.) in ArcGIS Add-ins.

SolidColorBrushColorDescription
Esri_DockPaneClientAreaBackgroundBrush #F7F8F8 Background brush of the client area for docking panes
Esri_DialogFrameBackgroundBrush #F7F8F8 Background brush of the frame surrounding the client area in dialogs
Esri_DialogClientAreaBackgroundBrush #FFFFFF Background brush of the client area for dialogs
Esri_ControlBackgroundBrush #FFFFFF Background brush for most controls such as buttons, combo boxes, text fields
Esri_GalleryItemBackgroundBrush transparent Background brush for the Gallery item