共用方式為


InfoBarClosedEventArgs.Reason 屬性

定義

取得常數,指定已關閉事件的原因是因為用戶互動 (關閉按鈕按兩下) 或程式設計關閉。

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

屬性值

適用於