Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IMessageHandler Interface

An object that contains functions to process error, warning and informational messages.

#Declaration

TypeScript
export interface IMessageHandler

#Remarks

The IMessageHandler object is used to set the MessageHandler property value.

#Properties

#processError Property

Specifies a function to handle the error messages.

#Declaration

TypeScript
processError: (message: string, showForUser?: boolean, prefix?: string, element?: Element) => void

#Property Value

Type
(message: string, showForUser?: boolean, prefix?: string, element?: Element) => void

#processMessage Property

Specifies a function to handle the informational messages.

#Declaration

TypeScript
processMessage: (message: string, showForUser?: boolean, element?: Element) => void

#Property Value

Type
(message: string, showForUser?: boolean, element?: Element) => void

#processWarning Property

Specifies a function to handle the warning messages.

#Declaration

TypeScript
processWarning: (message: string, showForUser?: boolean, element?: Element) => void

#Property Value

Type
(message: string, showForUser?: boolean, element?: Element) => void