PublishingPageVersionStyleIndicator Class

Definition

Represents a Cascading style sheet (CSS) style name, based on the current version of the page.

public ref class PublishingPageVersionStyleIndicator sealed : System::Web::UI::WebControls::WebControl
public sealed class PublishingPageVersionStyleIndicator : System.Web.UI.WebControls.WebControl
type PublishingPageVersionStyleIndicator = class
    inherit WebControl
Public NotInheritable Class PublishingPageVersionStyleIndicator
Inherits WebControl
Inheritance
PublishingPageVersionStyleIndicator

Remarks

This control outputs text which is the name of a CSS style to be placed in an element on the page. This style name changes depending on whether the page is a published version, a draft version, or a checked-out version.

Constructors

PublishingPageVersionStyleIndicator()

Creates an instance of the PublishingPageVersionStyleIndicator class.

Properties

CheckedOutVersionStyle

Gets or sets the style name to render when the current page is a checked-out version.

MajorVersionStyle

Gets or sets the style name to render when the current page is a published version.

MinorVersionStyle

Gets or sets the style name to render when the current page is a draft version.

Applies to