Share via


ConsoleErrorDisplay.MessageCssClass property

The cascading style sheets (CSS) class used for the display if the message is not an error message.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property MessageCssClass As String
    Get
    Set
'Usage
Dim instance As ConsoleErrorDisplay
Dim value As String

value = instance.MessageCssClass

instance.MessageCssClass = value
public string MessageCssClass { get; set; }

Property value

Type: System.String
A string that represents the name of the CSS class to be used when this markup is rendered in the browser.

See also

Reference

ConsoleErrorDisplay class

ConsoleErrorDisplay members

Microsoft.SharePoint.Publishing.WebControls namespace