Open this page in the API Guide

DashboardCanvasService.contextFocused Property

Gets the context focus status.