Plugin Developer Discussion

Discussion for FogBugz Plugin developers

FogCreek.FogBugz.UI.PageDisplay.Headline

In the developer's wiki it references this class/method as follows:
 
"PageDisplay.Headline Create headline html for a page."

I followed the link and looked at the documentation, but don't get exactly how you would use this. I'm assuming it does some kind of formatting to create a "FogBugz Style" page header on plug-in pages.

Firstly, it doesn't have a constructor and I can't find a public interface/factory to generate them.

Secondly, I'm not sure how I'd use this class in the IPluginPageDisplay.PageDisplay method, exactly.

Perhaps I am just misunderstanding what this class/method is intended to do?
John Fuex Send private email
Tuesday, August 11, 2009
 
 
It's just a static method to get you the HTML for the page headline.  You'd use it like so

public string PageDisplay()
{
  return PageDisplay.Headline("Welcome to my Plugin Page!") + "<p>This is some text</p>";
}
David Fullerton Send private email
Tuesday, August 11, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz