Dev2.Studio.UserInterfaceLayoutProvider.AddHelpDocument C# (CSharp) Method

AddHelpDocument() private method

private AddHelpDocument ( object resourceModel ) : void
resourceModel object
return void
        internal void AddHelpDocument(object resourceModel)
        {
            //Juries Todo
            //var helpResource = resourceModel as IResourceModel;
            //if (helpResource != null && !string.IsNullOrWhiteSpace(helpResource.HelpLink))
            //{
            //    FrameworkElement helpTab = FindTabByName(helpResource.ResourceName + "*Help");
            //    if (helpTab != null)
            //    {
            //        SetActiveDocument(helpTab);
            //    }
            //    else
            //    {
            //        var help = new HelpView(helpResource.HelpLink);
            //        UIElementTitleProperty.SetTitle(help, helpResource.ResourceName + "*Help");
            //        UIElementTabActionContext.SetTabActionContext(help, WorkSurfaceContext.Help);
            //        Tabs.Add(help);
            //        SetActiveDocument(help);
            //    }
            //}
        }