Hello,
When creating features within ArcGIS Pro, there is a green pop-up notification that appears at the top of the Create Features like this:
I want to display this same notification when I create ArcGIS features in my application that is connected to ArcGIS Pro. Is it possible to do this using the API?
What I have found so far is that we can create pop-up notifications using the Notifications class, but I would like to know if it is possible to use the existing green notification instead.
Thank you in advance,
Hannah
Solved! Go to Solution.
The best you can do is add your own notification to the application. The Create dockpane "built-in" message is not accessible.
var feature_name = "Parcels";
ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(
new ArcGIS.Desktop.Framework.Notification() {
Message = $"Create {feature_name} complete",
Title = "Create features",
ImageUrl = @"pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/MarsCat32.png"
}
);
The best you can do is add your own notification to the application. The Create dockpane "built-in" message is not accessible.
var feature_name = "Parcels";
ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(
new ArcGIS.Desktop.Framework.Notification() {
Message = $"Create {feature_name} complete",
Title = "Create features",
ImageUrl = @"pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/MarsCat32.png"
}
);
Thank you very much for your help, I appreciate it!
Thanks Charlie!