-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
150 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
namespace JamSoft.AvaloniaUI.Dialogs.MsgBox; | ||
|
||
/// <summary> | ||
/// The message box button enum | ||
/// </summary> | ||
public enum MsgBoxButton | ||
{ | ||
/// <summary> | ||
/// Show the OK button | ||
/// </summary> | ||
Ok, | ||
|
||
/// <summary> | ||
/// Show the OK and Cancel buttons | ||
/// </summary> | ||
OkCancel, | ||
|
||
/// <summary> | ||
/// Show the Yes and No buttons | ||
/// </summary> | ||
YesNo, | ||
|
||
/// <summary> | ||
/// Show the Yes, No and Cancel buttons | ||
/// </summary> | ||
YesNoCancel | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,57 @@ | ||
namespace JamSoft.AvaloniaUI.Dialogs.MsgBox; | ||
|
||
/// <summary> | ||
/// Specifies the icon to display in a message box | ||
/// </summary> | ||
public enum MsgBoxImage | ||
{ | ||
/// <summary> | ||
/// Show no icon | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// Show the Asterisk icon | ||
/// </summary> | ||
Asterisk, | ||
|
||
/// <summary> | ||
/// Show the Exclamation icon | ||
/// </summary> | ||
Exclamation, | ||
|
||
/// <summary> | ||
/// Show the Hand icon | ||
/// </summary> | ||
Hand, | ||
|
||
/// <summary> | ||
/// Show the Stop icon | ||
/// </summary> | ||
Stop, | ||
|
||
/// <summary> | ||
/// Show the Error icon | ||
/// </summary> | ||
Error, | ||
|
||
/// <summary> | ||
/// Show the Question icon | ||
/// </summary> | ||
Question, | ||
|
||
/// <summary> | ||
/// Show the Warning icon | ||
/// </summary> | ||
Warning, | ||
|
||
/// <summary> | ||
/// Show the Information icon | ||
/// </summary> | ||
Information, | ||
|
||
/// <summary> | ||
/// Show a custom icon | ||
/// </summary> | ||
Custom | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
namespace JamSoft.AvaloniaUI.Dialogs.MsgBox; | ||
|
||
/// <summary> | ||
/// The message box result enum | ||
/// </summary> | ||
public enum MsgBoxResult | ||
{ | ||
/// <summary> | ||
/// The default value | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// The OK value | ||
/// </summary> | ||
Ok, | ||
|
||
/// <summary> | ||
/// The Cancel value | ||
/// </summary> | ||
Cancel, | ||
|
||
/// <summary> | ||
/// The Yes value | ||
/// </summary> | ||
Yes, | ||
|
||
/// <summary> | ||
/// The No value | ||
/// </summary> | ||
No | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters