public static void SetAttachedProperties(WorkflowDesignerWindow workflowDesignerWindow, IContextualResourceModel resource, string iconPath) { UIElementTitleProperty.SetTitle(workflowDesignerWindow, resource.ResourceName); UIElementTabActionContext.SetTabActionContext(workflowDesignerWindow, WorkSurfaceContext.Workflow); UIElementImageProperty.SetImage(workflowDesignerWindow, iconPath); }