Share via


TeachingTipClosingEventArgs.Reason Property

Definition

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

Property Value

Applies to