mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-09 15:37:37 +08:00
19 lines
733 B
C#
19 lines
733 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<DialogWrapper @ref="_dialogWrapper"
|
|
Config="@BuildDialogOptions()"
|
|
Visible="@Visible"
|
|
DestroyOnClose="@DestroyOnClose"
|
|
OnAfterShow="@OnAfterDialogShow"
|
|
OnBeforeDestroy="@OnBeforeDialogWrapperDestroy"
|
|
Style="@Style">
|
|
<CascadingValue Value=@($"#ant-modal-wrap_{_dialogWrapper.Id}") Name="PopupContainerSelector">
|
|
<CascadingValue Value="true" Name="InModal">
|
|
<CascadingValue Value="@_dialogWrapper.Dialog.IsShow()" Name="ModalCompleteShow">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</DialogWrapper>
|