71 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)
339
MessageBoxImage
image)
Microsoft\Win32\FileDialog.cs (1)
631
System.Windows.MessageBoxButton.OK,
MessageBoxImage
.Warning);
Microsoft\Win32\SaveFileDialog.cs (2)
256
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
268
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
290
MessageBoxImage
.Asterisk);
MS\Internal\Printing\Win32PrintDialog.cs (1)
115
| (int) System.Windows.
MessageBoxImage
.Information
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (2)
175
System.Windows.
MessageBoxImage
image
200
System.Windows.
MessageBoxImage
image
System\Windows\Controls\DocumentViewer.cs (1)
2169
MessageBoxImage
.Asterisk);
System\Windows\MessageBox.cs (24)
103
MessageBoxImage
icon,
119
MessageBoxImage
icon,
134
MessageBoxImage
icon)
149
return ShowCore(IntPtr.Zero, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
159
return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
169
return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
255
MessageBoxImage
icon, MessageBoxResult defaultResult,
271
MessageBoxImage
icon,
287
MessageBoxImage
icon)
303
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
313
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
323
return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
366
MessageBoxImage
icon,
376
throw new InvalidEnumArgumentException ("icon", (int)icon, typeof(
MessageBoxImage
));
433
private static bool IsValidMessageBoxImage(
MessageBoxImage
value)
435
return value ==
MessageBoxImage
.Asterisk
436
|| value ==
MessageBoxImage
.Error
437
|| value ==
MessageBoxImage
.Exclamation
438
|| value ==
MessageBoxImage
.Hand
439
|| value ==
MessageBoxImage
.Information
440
|| value ==
MessageBoxImage
.None
441
|| value ==
MessageBoxImage
.Question
442
|| value ==
MessageBoxImage
.Stop
443
|| value ==
MessageBoxImage
.Warning;
PresentationFramework.Tests (7)
System\Windows\MessageBox.Tests.cs (7)
45
MessageBox.Show("Test Message", "Test Caption", MessageBoxButton.OK,
MessageBoxImage
.None, (MessageBoxResult)invalidResult));
59
MessageBox.Show(new Window(), "Test Message", "Test Caption", MessageBoxButton.OK,
MessageBoxImage
.None, (MessageBoxResult)invalidResult));
80
MessageBox.Show("Test Message", "Test Caption", MessageBoxButton.OK, (
MessageBoxImage
)invalidImage, MessageBoxResult.None));
101
MessageBox.Show(new Window(), "Test Message", "Test Caption", MessageBoxButton.OK, (
MessageBoxImage
)invalidImage, MessageBoxResult.None));
120
MessageBox.Show("Test Message", "Test Caption", MessageBoxButton.OK,
MessageBoxImage
.None, MessageBoxResult.None, (MessageBoxOptions)invalidOptions));
139
MessageBox.Show(new Window(), "Test Message", "Test Caption", MessageBoxButton.OK,
MessageBoxImage
.None, MessageBoxResult.None, (MessageBoxOptions)invalidOptions));
159
MessageBox.Show(owner, "Test Message", "Test Caption", MessageBoxButton.OK,
MessageBoxImage
.None, MessageBoxResult.None, messageBoxOptions));
PresentationUI (25)
MS\Internal\Documents\Application\FilePresentation.cs (4)
114
System.Windows.
MessageBoxImage
.Exclamation
128
System.Windows.
MessageBoxImage
.Exclamation
141
System.Windows.
MessageBoxImage
.Exclamation
154
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (3)
99
System.Windows.
MessageBoxImage
.Warning);
113
System.Windows.
MessageBoxImage
.Warning);
128
System.Windows.
MessageBoxImage
.Warning);
MS\Internal\Documents\DocumentSignatureManager.cs (11)
266
System.Windows.
MessageBoxImage
.Exclamation);
292
System.Windows.
MessageBoxImage
.Exclamation
301
System.Windows.
MessageBoxImage
.Exclamation
349
System.Windows.
MessageBoxImage
.Exclamation);
361
System.Windows.
MessageBoxImage
.Exclamation);
374
System.Windows.
MessageBoxImage
.Exclamation);
390
System.Windows.
MessageBoxImage
.Exclamation);
406
System.Windows.
MessageBoxImage
.Exclamation);
435
System.Windows.
MessageBoxImage
.Exclamation);
610
System.Windows.
MessageBoxImage
.Exclamation);
947
System.Windows.
MessageBoxImage
.Exclamation);
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
71
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RightsManagementManager.cs (3)
602
System.Windows.
MessageBoxImage
.Exclamation
633
System.Windows.
MessageBoxImage
.Warning);
968
System.Windows.
MessageBoxImage
.Exclamation
MS\Internal\Documents\RMPublishingDialog.cs (2)
471
MessageBoxImage
.Exclamation);
652
MessageBoxImage
.Exclamation);
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
336
System.Windows.
MessageBoxImage
.Exclamation