コード例 #1
0
 private async void ClearPropertiesConfirmation_Click(object sender, RoutedEventArgs e)
 {
     ClearPropertiesFlyout.Hide();
     if (BaseProperties is FileProperties fileProps)
     {
         await fileProps.ClearPropertiesAsync();
     }
 }
コード例 #2
0
 private async void ClearPropertiesConfirmation_Click(object sender, RoutedEventArgs e)
 {
     ClearPropertiesFlyout.Hide();
     await(BaseProperties as FileProperties).ClearPropertiesAsync();
 }