WinRTXamlToolkit.Controls.Primitives.CalendarButton.OnPointerReleased C# (CSharp) 메소드

OnPointerReleased() 보호된 메소드

Provides handling for the PointerReleased event that occurs when the left mouse button is released while the mouse pointer is over this control.
This method marks the PointerReleased event as handled by setting the PointerRoutedEventArgs.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 PointerReleased event as handled in some situations, you should use the Click event instead to detect a button click.
/// e is a null reference (Nothing in Visual Basic). ///
protected OnPointerReleased ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs The event data.
리턴 void
        protected override void OnPointerReleased(PointerRoutedEventArgs e)
        {
            base.OnPointerReleased(e);

            EventHandler<PointerRoutedEventArgs> handler = CalendarButtonMouseUp;

            if (null != handler)
            {
                handler(this, e);
            }
        }