我正在使用以下代码展示照片库:
```
在Windows Phone 8.1中,
```
我正在使用以下代码展示照片库:
```FileOpenPicker openPicker = new FileOpenPicker();
openPicker.ViewMode = PickerViewMode.Thumbnail;
openPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
openPicker.FileTypeFilter.Add(".jpg");
openPicker.FileTypeFilter.Add(".jpeg");
openPicker.FileTypeFilter.Add(".png");
filePicker.PickSingleFileAndContinue();
在Windows Phone 8.1中,
FileOpenPicker
在ApplicationBar
中显示相机按钮。
当在Windows Phone 10中使用相同的代码时,确认和取消按钮代替了相机按钮。
如何像8.1那样显示相机按钮?