TeachingTipClosingEventArgs.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a constant that specifies whether the cause of the Closing event was due to user interaction (Close button click), light-dismissal, or programmatic closure.
public:
property TeachingTipCloseReason Reason { TeachingTipCloseReason get(); };
TeachingTipCloseReason Reason();
public TeachingTipCloseReason Reason { get; }
var teachingTipCloseReason = teachingTipClosingEventArgs.reason;
Public ReadOnly Property Reason As TeachingTipCloseReason