Gets whether the catalog dock pane is the active window or not
bool IsActiveWindow {get;}
ReadOnly Property IsActiveWindow As Boolean
Property Value
True if the catalog dock pane is the active window
Check if the Catalog Window is the active window
var catalogWindow = Project.GetCatalogPane() as ICatalogWindow;
if (catalogWindow.IsActiveWindow)
{
//TODO - query/change catalog window content
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.6 or higher.