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.

Syntax

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

Property Value

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

PhotoCamera Class

Microsoft.Devices Namespace