Share via


UIElement.OnPreviewButtonDown Method

Adds class handling for an unhandled PreviewButtonDown attached event when that event reaches, by way of its route, an element that is derived from the UIElement class.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

protected virtual void OnPreviewButtonDown (
         ButtonEventArgse
)

Parameters

  • e
    A ButtonEventArgs object that provides data for the attached event.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, you should call the base implementation in your own implementation.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace