CalendarDayButton.

OnPointerReleased(PointerReleasedEventArgs) Method

Summary

Provides handling for the MouseLeftButtonUp event that occurs when the left mouse button is released while the mouse pointer is over this control.

Syntax

protected override void OnPointerReleased(PointerReleasedEventArgs e)

Remarks

This method marks the MouseLeftButtonUp event as handled by setting the MouseButtonEventArgs.Handled property of the event data to true when the button is enabled and its ClickMode is not set to Hover. Since this method marks the MouseLeftButtonUp event as handled in some situations, you should use the Click event instead to detect a button click.

Parameters

Name Type Description
e PointerReleasedEventArgs The event data.

Return Value

Type Description
void