Share via


ConsoleErrorDisplay.MessageCssClass Property

The cascading style sheet (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