Lines Matching refs:box
3 …box is a dialog box you customize by using APIs of the **CustomDialogController** class. You can s…
14 Defines a custom dialog box.
18 > No parameters of the custom dialog box can be dynamically updated.
28 …ogControllerOptions](#customdialogcontrolleroptions) | Yes | Parameters of the custom dialog box.|
36 …common-components-custom-dialog.md) | Yes | Builder of the custom dialog box content.<br>**NOTE*…
37 …| () => void | No | Callback invoked when the dialog box is closed after the…
38 …| No | Whether to close the dialog box when the mask is touched. The value **true** means to clo…
39 …| [DialogAlignment](ts-methods-alert-dialog-box.md#dialogalignment) | No | Alignment mode of the…
40 … | [Offset](ts-types.md#offset) | No | Offset of the dialog box relative to the ali…
41 …box.<br>When this parameter is set to **false** (default value):<br>1. The rounded corner radius i…
42 …./../../ui/arkts-layout-development-grid-layout.md) occupied by the dialog box.<br>The default val…
44 …p> | [Rectangle](ts-methods-alert-dialog-box.md#rectangle8) | No | Mask area of the dial…
45 …teparam) | No | Parameters for defining the open animation of the dialog box.<br>**NOTE**<br>**t…
46 …eparam) | No | Parameters for defining the close animation of the dialog box.<br>**NOTE**<br>**t…
47 …box in a sub-window when the dialog box needs to be displayed outside the main window.<br>Default …
48 …or](ts-types.md#resourcecolor) | No | Background color of the dialog box.<br>Default value: …
50 …| boolean | No| Whether the dialog box is a modal. A modal dialog box has a mask applied, while a …
51 …box.<br>**NOTE**<br>1. If this callback is registered, the dialog box will not be closed immediate…
52 …box.<br>You can set the width for all four sides or set separate widths for individual sides.<br>D…
53 …\| [EdgeColors](ts-types.md#edgecolors9) | No| Border color of the dialog box.<br>Default value: …
54 …\| [EdgeStyles](ts-types.md#edgestyles9) | No| Border style of the dialog box.<br>Default value: …
55 …box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parameter is …
56 …box.<br>**NOTE**<br>- Default maximum height of the dialog box: 0.9 x (Window height – Safe area)<…
57 … | No| Shadow of the dialog box.<br> Default value on 2-in-1 devices: **ShadowStyle.OUTER_FLOATIN…
58 …md#blurstyle9) | No | Background blur style of the dialog box.<br>Default value: …
59 …Mode](../js-apis-promptAction.md#keyboardavoidmode12) | No| How the dialog box avoids the soft key…
61 …-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover state.…
65 > - Pressing the Back or ESC key closes the dialog box.
66 > - If the dialog box reaches its maximum allowable height on the screen when avoiding the soft key…
67 …ce the container does not clip its content by default, parts of the dialog box may still be displa…
68 > - Use the custom dialog box to contain simple alert messages only. Do not use it as a page. When …
70 … you switch pages unless you manually call **close**. If you need a dialog box to close in sync wi…
74 Provides information about the action to dismiss the dialog box.
84 … | No | No | Callback for dismissing the dialog box. This API is called only when the dialog b…
85 …12) | No | No | Reason why the dialog box cannot be dismissed. You must specify whether to close…
103 Opens the content of the custom dialog box. This API can be called multiple times. If the dialog bo…
118 Closes the custom dialog box. If the dialog box is closed, this API does not take effect.
131 Text('I'm the second dialog box')
282 Text('Dialog box outside the main window')
356 This example demonstrates how to set styles of a custom dialog box, including the width, height, ba…
368 Text('This is a custom dialog box')
447 This example demonstrates how to set the layout area of a dialog box in the hover state on a foldab…