Skip to content

Commit 43c4282

Browse files
authored
[FIX] Fix typo in file picker sample source (#1497)
There was a mismatch in the name for TextBlock control in the first FilePicker sample. Changed name from `OutputTextBlock` to `PickAFileOutputTextBlock` in the sample source text file.
1 parent 4f49456 commit 43c4282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WinUIGallery/ControlPagesSampleCode/System/FilePickerSample1_cs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
private async void PickAFileButton_Click(object sender, RoutedEventArgs e)
22
{
33
// Clear previous returned file name, if it exists, between iterations of this scenario
4-
OutputTextBlock.Text = "";
4+
PickAFileOutputTextBlock.Text = "";
55

66
// Create a file picker
77
var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
@@ -29,4 +29,4 @@
2929
{
3030
PickAFileOutputTextBlock.Text = "Operation cancelled.";
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)