ContentDialog QML Type
A modal dialog with animated appearance. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
- contentItem : Item
- footer : Item
- modal : bool
- standardButtons : enumeration
- title : string
Signals
Detailed Description
ContentDialog presents a modal overlay dialog with a title, custom content area, and a footer for action buttons. It animates into view and can be configured with standard button combinations or fully custom footer content.
Property Documentation
contentItem : Item
The custom content item displayed in the body of the dialog.
footer : Item
The custom footer item, typically containing action buttons.
modal : bool
Whether the dialog blocks interaction with other windows. Defaults to true.
standardButtons : enumeration
A combination of standard dialog buttons (e.g. Ok, Cancel, Yes, No).
title : string
The title text displayed in the dialog header.
Signal Documentation
void accepted()
Emitted when the user accepts the dialog.
Note: The corresponding handler is onAccepted.
void rejected()
Emitted when the user rejects or dismisses the dialog.
Note: The corresponding handler is onRejected.