64 references to MessageBoxImage
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
Notification\EditorNotificationServiceFactory.cs (6)
60
var
image = SeverityToImage(severity);
79
var
image = SeverityToImage(severity);
84
private static
MessageBoxImage
SeverityToImage(NotificationSeverity severity)
87
NotificationSeverity.Information =>
MessageBoxImage
.Information,
88
NotificationSeverity.Warning =>
MessageBoxImage
.Warning,
89
_ =>
MessageBoxImage
.Error,
PresentationFramework (33)
Microsoft\Win32\CommonItemDialog.cs (1)
351
MessageBoxImage
image)
Microsoft\Win32\FileDialog.cs (1)
670
System.Windows.MessageBoxButton.OK,
MessageBoxImage
.Warning);
Microsoft\Win32\SaveFileDialog.cs (2)
306
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
318
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
293
MessageBoxImage
.Asterisk);
MS\Internal\Printing\Win32PrintDialog.cs (1)
118
| (int) System.Windows.
MessageBoxImage
.Information
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (2)
181
System.Windows.
MessageBoxImage
image
206
System.Windows.
MessageBoxImage
image
System\Windows\Controls\DocumentViewer.cs (1)
2231
MessageBoxImage
.Asterisk);
System\Windows\MessageBox.cs (24)
99
MessageBoxImage
icon,
115
MessageBoxImage
icon,
130
MessageBoxImage
icon)
145
return ShowCore(IntPtr.Zero, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
155
return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
165
return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
251
MessageBoxImage
icon, MessageBoxResult defaultResult,
267
MessageBoxImage
icon,
283
MessageBoxImage
icon)
299
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
309
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
319
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
351
MessageBoxImage
icon,
361
throw new InvalidEnumArgumentException ("icon", (int)icon, typeof(
MessageBoxImage
));
415
private static bool IsValidMessageBoxImage(
MessageBoxImage
value)
417
return value ==
MessageBoxImage
.Asterisk
418
|| value ==
MessageBoxImage
.Error
419
|| value ==
MessageBoxImage
.Exclamation
420
|| value ==
MessageBoxImage
.Hand
421
|| value ==
MessageBoxImage
.Information
422
|| value ==
MessageBoxImage
.None
423
|| value ==
MessageBoxImage
.Question
424
|| value ==
MessageBoxImage
.Stop
425
|| value ==
MessageBoxImage
.Warning;
PresentationUI (25)
MS\Internal\Documents\Application\FilePresentation.cs (4)
116
System.Windows.
MessageBoxImage
.Exclamation
130
System.Windows.
MessageBoxImage
.Exclamation
143
System.Windows.
MessageBoxImage
.Exclamation
156
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (3)
100
System.Windows.
MessageBoxImage
.Warning);
114
System.Windows.
MessageBoxImage
.Warning);
129
System.Windows.
MessageBoxImage
.Warning);
MS\Internal\Documents\DocumentSignatureManager.cs (11)
276
System.Windows.
MessageBoxImage
.Exclamation);
305
System.Windows.
MessageBoxImage
.Exclamation
314
System.Windows.
MessageBoxImage
.Exclamation
362
System.Windows.
MessageBoxImage
.Exclamation);
374
System.Windows.
MessageBoxImage
.Exclamation);
387
System.Windows.
MessageBoxImage
.Exclamation);
403
System.Windows.
MessageBoxImage
.Exclamation);
419
System.Windows.
MessageBoxImage
.Exclamation);
448
System.Windows.
MessageBoxImage
.Exclamation);
626
System.Windows.
MessageBoxImage
.Exclamation);
962
System.Windows.
MessageBoxImage
.Exclamation);
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
75
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RightsManagementManager.cs (3)
616
System.Windows.
MessageBoxImage
.Exclamation
650
System.Windows.
MessageBoxImage
.Warning);
985
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RMPublishingDialog.cs (2)
480
MessageBoxImage
.Exclamation);
661
MessageBoxImage
.Exclamation);
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
328
System.Windows.
MessageBoxImage
.Exclamation