InfoBarClosedEventArgs.Reason 属性

定义

获取一个常量,该常量指定关闭事件的原因是用户交互 (关闭按钮单击) 还是编程关闭。

public:
 property InfoBarCloseReason Reason { InfoBarCloseReason get(); };
InfoBarCloseReason Reason();
public InfoBarCloseReason Reason { get; }
var infoBarCloseReason = infoBarClosedEventArgs.reason;
Public ReadOnly Property Reason As InfoBarCloseReason

属性值

适用于