Summary
Provides handling for the MouseLeftButtonUp event that occurs when
the left mouse button is released while the mouse pointer is over
this control.
- Namespace
- Avalonia
.Controls .Primitives - Containing Type
- CalendarDayButton
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 | Pointer |
The event data. |
Return Value
Type | Description |
---|---|
void |