Sitecore 5.0 API

State.ShowRenderingInfo Property

Gets or sets a boolean that indicates if rendering info is available.

[Visual Basic]
Public Shared Property ShowRenderingInfo As Boolean
[C#]
public static bool ShowRenderingInfo {get; set;}

Property Value

True, if DebugMode is true and rendering info should be available, otherwise false.

Remarks

The web engine can render information about each rendering on the web page. That makes it easy for a developer to identify the individual renderings and their parameters.

Rendering information can only be enabled if DebugMode is true.

The scope of the value is session and it is stored in the Session variable "SC_SHOW_RENDERING_INFO".

See Also

State Class | Sitecore.Configuration Namespace