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)
340
MessageBoxImage
image)
Microsoft\Win32\FileDialog.cs (1)
666
System.Windows.MessageBoxButton.OK,
MessageBoxImage
.Warning);
Microsoft\Win32\SaveFileDialog.cs (2)
301
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
313
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
291
MessageBoxImage
.Asterisk);
MS\Internal\Printing\Win32PrintDialog.cs (1)
116
| (int) System.Windows.
MessageBoxImage
.Information
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (2)
176
System.Windows.
MessageBoxImage
image
201
System.Windows.
MessageBoxImage
image
System\Windows\Controls\DocumentViewer.cs (1)
2227
MessageBoxImage
.Asterisk);
System\Windows\MessageBox.cs (24)
92
MessageBoxImage
icon,
108
MessageBoxImage
icon,
123
MessageBoxImage
icon)
138
return ShowCore(IntPtr.Zero, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
148
return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
158
return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
244
MessageBoxImage
icon, MessageBoxResult defaultResult,
260
MessageBoxImage
icon,
276
MessageBoxImage
icon)
292
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
302
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
312
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
344
MessageBoxImage
icon,
354
throw new InvalidEnumArgumentException ("icon", (int)icon, typeof(
MessageBoxImage
));
408
private static bool IsValidMessageBoxImage(
MessageBoxImage
value)
410
return value ==
MessageBoxImage
.Asterisk
411
|| value ==
MessageBoxImage
.Error
412
|| value ==
MessageBoxImage
.Exclamation
413
|| value ==
MessageBoxImage
.Hand
414
|| value ==
MessageBoxImage
.Information
415
|| value ==
MessageBoxImage
.None
416
|| value ==
MessageBoxImage
.Question
417
|| value ==
MessageBoxImage
.Stop
418
|| value ==
MessageBoxImage
.Warning;
PresentationUI (25)
MS\Internal\Documents\Application\FilePresentation.cs (4)
115
System.Windows.
MessageBoxImage
.Exclamation
129
System.Windows.
MessageBoxImage
.Exclamation
142
System.Windows.
MessageBoxImage
.Exclamation
155
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)
272
System.Windows.
MessageBoxImage
.Exclamation);
301
System.Windows.
MessageBoxImage
.Exclamation
310
System.Windows.
MessageBoxImage
.Exclamation
358
System.Windows.
MessageBoxImage
.Exclamation);
370
System.Windows.
MessageBoxImage
.Exclamation);
383
System.Windows.
MessageBoxImage
.Exclamation);
399
System.Windows.
MessageBoxImage
.Exclamation);
415
System.Windows.
MessageBoxImage
.Exclamation);
444
System.Windows.
MessageBoxImage
.Exclamation);
622
System.Windows.
MessageBoxImage
.Exclamation);
959
System.Windows.
MessageBoxImage
.Exclamation);
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
72
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RightsManagementManager.cs (3)
615
System.Windows.
MessageBoxImage
.Exclamation
649
System.Windows.
MessageBoxImage
.Warning);
984
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RMPublishingDialog.cs (2)
472
MessageBoxImage
.Exclamation);
653
MessageBoxImage
.Exclamation);
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
337
System.Windows.
MessageBoxImage
.Exclamation