Documentation > CMS Template API Library > Input > ShowMessage(String,MessageType)
ShowMessage
Adds a section message to the input screen. Useful for adding a message to groups of controls.
public System.Void ShowMessage(String,MessageType)
Parameters
Name | Description | Type |
---|---|---|
message | The message text to display. | System.String |
messageType | The type/severity level of the message. This determines the background color of the message. | CrownPeak.CMSAPI.MessageType |
Code Example
C#
Sample:
Input.ShowMessage("Page Information is used on this and other places where pages are listed by title or sorted by date.", MessageType.Warning);