public static void SetAttachedProperties(WorkflowDesignerWindow workflowDesignerWindow, IContextualResourceModel resource, string iconPath) { UIElementTitleProperty.SetTitle(workflowDesignerWindow, resource.ResourceName); UIElementTabActionContext.SetTabActionContext(workflowDesignerWindow, WorkSurfaceContext.Workflow); UIElementImageProperty.SetImage(workflowDesignerWindow, iconPath); }
public static void SetAttachedProperties(RuntimeConfigurationView view, string tabName) { UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.Settings); UIElementTitleProperty.SetTitle(view, tabName); UIElementImageProperty.SetImage(view, "/images/database_save.png"); }
public static void SetAttachedProperties(DeployView view, string tabName) { UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.DeployResources); UIElementTitleProperty.SetTitle(view, tabName); UIElementImageProperty.SetImage(view, "/images/database_save.png"); }