CameraButtons.ShutterKeyPressed Event
July 26, 2012
Occurs when the hardware shutter button receives a full press.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
To account for the Windows Phone execution model, add the event handler for this event in the OnNavigatedTo(NavigationEventArgs) method. To help release memory related to the camera, remove the event handler for this event in the OnNavigatingFrom(NavigatingCancelEventArgs). For more information about how to use this member for capturing a photo, see How to: Access the Hardware Camera Shutter Button in Windows Phone.
This event can also be used for capturing video. When capturing video, the CaptureSource.Start method must be called prior to the hardware shutter button press. If the capture source has not started, this event will not fire. For more information about capturing video in your Windows Phone application, see How to: Record Video in a Camera Application for Windows Phone.