Class BrowserMessage
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class contains info about one message that is queued to be sent to the browser.
public class BrowserMessage
- Inheritance
-
BrowserMessage
- Inherited Members
- Extension Methods
Fields
MessageIsHtmlFormatted
This property indicates the message is HTML formatted (True) or text-formatted (False)
public bool MessageIsHtmlFormatted
Field Value
Properties
CancelButtonCaption
Returns the caption of the Cancel button.
public string CancelButtonCaption { get; }
Property Value
Caption
Returns the caption of the message
public string Caption { get; }
Property Value
IconURL
Returns the URL for the icon of the message.
public string IconURL { get; }
Property Value
Message
Returns the contents of the message
public string Message { get; }
Property Value
OkButtonCaption
Returns the caption of the OK button.
public string OkButtonCaption { get; }
Property Value
OnCancelScript
Returns the script or action to perform when Cancel is clicked.
public string OnCancelScript { get; }
Property Value
OnCloseScript
Returns the script or action to perform when Close button is clicked.
public string OnCloseScript { get; }
Property Value
OnOkScript
Returns the script or action to perform when OK is clicked.
public string OnOkScript { get; }
Property Value
ReverseButtons
This property indicates if the OK and Cancel buttons are to be reversed.
public bool ReverseButtons { get; }
Property Value
Style
Returns the additional class that is added to the container of the message.
public string Style { get; }
Property Value
Methods
MessageIsEqual(BrowserMessage)
This property compares the properties of this message with the given message.
public bool MessageIsEqual(BrowserMessage pBrowserMessageToCompare)
Parameters
pBrowserMessageToCompare
BrowserMessageThe message to compare with.
Returns
- bool
Returns True if the given message is equal to the current message.