DialogBoxData
Description:
An object that is passed to your application when a dialog is displayed in Revit.
An object that is passed to your application when a dialog is displayed in Revit.
Remarks:
When the application receives this object, a dialog has been displayed in Revit that requires user interaction. The OverrideResult function can be used to cause the dialog to be dismissed and return a desired result code.
When the application receives this object, a dialog has been displayed in Revit that requires user interaction. The OverrideResult function can be used to cause the dialog to be dismissed and return a desired result code.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.UI.Events.DialogBoxData
Autodesk.Revit.UI.Events.MessageBoxData
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.UI.Events.DialogBoxData
Autodesk.Revit.UI.Events.MessageBoxData
public class DialogBoxData : APIObject
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| OverrideResult(Int32) | bool | Call this method to cause the Autodesk Revit dialog to be dismissed with the specified return value. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| HelpId | int | An ID that represents the dialog that has been displayed. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |