RibbonControl.CloseMessage(RibbonMessageArgs, DialogResult) Method
Closes the specified message.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
args | RibbonMessageArgs | An object that identifies the message to close. |
result | DialogResult | A value that specifies the return value of the message. |
Remarks
The Ribbon control stores the messages in the Messages collection. Use the CloseMessage
method to close a specific message in code. The Ribbon control raises the MessageClosed event after the message is closed.
Read the following topic for information: Ribbon Message.
See Also