Hi! I'm creating an ArcGIS Pro 2.9 addin with some custom panes.
Since the number of visible panes may multiply, I was wondering how to change the default "green button" icon visible in the pane captions, so different types can be easily seen apart.
I tried finding largeImage/smallImage properties in the UserControl XAML for my panes but they don't seem to exist. I also tried setting the LargeImage and SmallImage properties in the custom ViewModel constructors:
// First option: no image is visible
LargeImage = "pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericButtonRed32.png";
// Second option: some kind of exception, the pane doesn't appear
LargeImage = new BitmapImage(new Uri("pack://application:,,,/Module1;component/Images/GenericButtonRed32", UriKind.Absolute));
Any help appreciated,
Salvador