FlashMode Property
Collapse the table of content
Expand the table of content

PhotoCamera.FlashMode Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the flash mode. Unsupported flash modes silently default to Off.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public FlashMode FlashMode { get; set; }
<object FlashMode="FlashMode" .../>

Property Value

Type: Microsoft.Devices.FlashMode
Returns FlashMode. The flash mode.

For more information about how to implement this member, see How to use camera flash in an app for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft