ant-design-blazor/components/modal/config/ModalClosingEventArgs.cs
TimChen 1877592211 feat(module: modal): support template component (#345)
* 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>
2020-07-12 23:19:55 +08:00

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; }
}
}