A PanelContent object contains all panel attributes for the panel, as defined in eSales Manager.
For zone panels, a PanelContent object contains all subpanels returned by the eSales service.
For function panels, a PanelContent object contains the result of evaluating the function in the eSales service.
An object of this class will never make new requests to the eSales service; it justs holds the result of a request.
public sealed class PanelContent
Thetype exposes the following members.
A read only dictionary with the panel attributes.
A possible error encountered during panel execution. If this panel had no error, this will be null.
True if the panel has either a result or an error.
True if this panel has sub panels.
The complete path of this panel.
A read only list of all subpanels in this panel
A ticket of this panel.
Returns True if this zone contains a subpanel with the specified relative path.
Returns the result of this panel. If this panel is not a function panel, then returns null.
Fetches the result as Ads.
Fetches the result as a list of CategoryData objects. These objects do not have links to any subcategories or parent.
Fetches the result as a CategoryNode object, representing the root of a (possibly partial) category tree. The tree can be traversed using for example the Subcategories property, or utility methods such as GetSelectedSubcategory() and FindDescendant(string).
Fetches the result as Completions.
Fetches the result as Corrections.
Fetches the result as Count.
Fetches the result as FacetRange.
Fetches the result as Phrases.
Fetches the result as Products.
Fetches the result as Values.
Return a sub panel given it's relativePath to this one.