Click or drag to resize

DashboardHelper Methods

The DashboardHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddClass
Utility method for adding a class to an element. Concatenates the classname (separated by a space) to the class attribute if already defined.
Public methodStatic memberAddRefreshContentBehavior
Adds behavior to an xml element so that its content will refresh at the specified interval.
Public methodStatic memberAddRunDomainCommandBehavior
Adds behavior to an xml element so that when clicked/activated, it triggers a domain command.
Public methodStatic memberAddSelectNodeBehavior(XmlElement, String)
Adds behavior to an element, so that when it is clicked/activated the configurator will navigate to the tree node at the nodePath specified.
Public methodStatic memberAddSelectNodeBehavior(DashboardCommand, String)
Adds behavior to a command, so that when it is clicked/activated the configurator will navigate to the tree node at the nodePath specified.
Public methodStatic memberAddStyle
Utility method for adding a style rule property/value to an element. Concatenates the style rule to the existing style attribute, if already defined.
Public methodStatic memberCreateDomainCommand(ConfigurationDomainCommand)
Converts a domain command into a dashboard command. When clicked/activated, the domain command will be triggered.
Public methodStatic memberCreateDomainCommand(String, String, String)
Converts a domain command into a dashboard command. When clicked/activated, the domain command will be triggered.
Public methodStatic memberCreateDomainStatusDashboard
Creates a generic dashboard based on a ConfigurationDomain definition.
Public methodStatic memberCreateElement
Creates an xml element and it's inner content from markup.
Public methodStatic memberCreateFragment
Creates an xml fragment from html markup.
Public methodStatic memberCreateSelectConfigurationNodeCommand(String)
Creates a command that when clicked/activated will navigate to a domain's configuration tree node in the configurator's navigation pane. Uses default configure label.
Public methodStatic memberCreateSelectConfigurationNodeCommand(String, String)
Creates a command that when clicked/activated will navigate to a domain's configuration tree node in the configurator's navigation pane.
Public methodStatic memberCreateSelectDomainNodeCommand(ConfigurationDomain)
Creates a command that when clicked/activated will navigate to a domain's tree node in the configurator's navigation pane.
Public methodStatic memberCreateSelectDomainNodeCommand(String, String)
Creates a command that when clicked/activated will navigate to a domain's tree node in the configurator's navigation pane.
Public methodStatic memberCreateSubDomainListItem
Creates a generic DashboardListItem based on a ConfigurationDomain.
Public methodStatic memberFormatDashboardContentString
In a fashion similar to String.Format() this takes a formatted string with positional placeholders, and replaces them with content generated from the IDashboardContent item at the corresponding position.
Public methodStatic memberGetConfigurationPath
Resolves the path to a domain's configuration node.
Public methodStatic memberGetStatusIconClass
Resolves the class name to use for a status value.
Public methodStatic memberImageFileToDataUri
Converts an image file's content into a base64 encoded data uri.
Public methodStatic memberToParagraphs
Converts a raw text value to html paragraphs, splitting the content by new lines.
Public methodStatic memberToXmlFragment
Converts an IDashboardContent to an xml fragment in an undefined xml document.
Public methodStatic memberToXmlString
Converts an IDashboardContent to a string.
Top
See Also