mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 13:37:35 +08:00
1877592211
* feat: modal support template * feat: modal update * feat: modal update * feat: modal update * feat: modal update * docs: fix ci * fix: demo title Co-authored-by: James Yeung <shunjiey@hotmail.com>
28 lines
688 B
C#
28 lines
688 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class ModalClosingEventArgs
|
|
{
|
|
|
|
public ModalClosingEventArgs() { }
|
|
|
|
public ModalClosingEventArgs(MouseEventArgs mouseEvent, bool cancel)
|
|
{
|
|
Cancel = cancel;
|
|
MouseEvent = mouseEvent;
|
|
}
|
|
|
|
public MouseEventArgs MouseEvent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置一个值,该值指示是否应取消事件。
|
|
/// 返回结果: true 如果应取消事件;否则为 false。
|
|
/// </summary>
|
|
public bool Cancel { get; set; }
|
|
}
|
|
}
|