diff --git a/Source/Krypton Components/Krypton.Toolkit/General/KryptonMessageBoxData.cs b/Source/Krypton Components/Krypton.Toolkit/General/KryptonMessageBoxData.cs
index fe710652c..32ebb1fbd 100644
--- a/Source/Krypton Components/Krypton.Toolkit/General/KryptonMessageBoxData.cs
+++ b/Source/Krypton Components/Krypton.Toolkit/General/KryptonMessageBoxData.cs
@@ -18,7 +18,7 @@ public struct KryptonMessageBoxData
/// Gets or sets the owner window.
/// The owner window.
- public IWin32Window? Owner { get; set; } = null;
+ public IWin32Window? Owner { get; set; }
/// Gets or sets the message text.
/// The message text.
@@ -30,75 +30,126 @@ public struct KryptonMessageBoxData
/// Gets or sets the buttons.
/// The buttons.
- public KryptonMessageBoxButtons Buttons { get; set; } = KryptonMessageBoxButtons.OK;
+ public KryptonMessageBoxButtons Buttons { get; set; }
/// Gets or sets the icon.
/// The icon.
- public KryptonMessageBoxIcon Icon { get; set; } = KryptonMessageBoxIcon.None;
+ public KryptonMessageBoxIcon Icon
+ {
+ get; set;
+ }
/// Gets or sets the default button.
/// The default button.
- public KryptonMessageBoxDefaultButton? DefaultButton { get; set; } = KryptonMessageBoxDefaultButton.Button1;
+ public KryptonMessageBoxDefaultButton? DefaultButton
+ {
+ get; set;
+ }
/// Gets or sets the .
/// The .
- public MessageBoxOptions Options { get; set; } = MessageBoxOptions.DefaultDesktopOnly;
+ public MessageBoxOptions Options
+ {
+ get; set;
+ }
/// Gets or sets the help information.
/// The help information.
- public HelpInfo? HelpInfo { get; set; } = null;
+ public HelpInfo? HelpInfo
+ {
+ get; set;
+ }
/// Gets or sets the show control copy.
/// The show control copy.
- public bool? ShowCtrlCopy { get; set; } = false;
+ public bool? ShowCtrlCopy
+ {
+ get; set;
+ }
/// Gets or sets the show help button.
/// The show help button.
- public bool? ShowHelpButton { get; set; } = false;
+ public bool? ShowHelpButton
+ {
+ get; set;
+ }
/// Gets or sets the show action button.
/// The show action button.
- public bool? ShowActionButton { get; set; } = false;
+ public bool? ShowActionButton
+ {
+ get; set;
+ }
/// Gets or sets the action button text.
/// The action button text.
- public string? ActionButtonText { get; set; } = string.Empty;
+ public string? ActionButtonText
+ {
+ get; set;
+ }
/// Gets or sets the action button command.
/// The action button command.
- public KryptonCommand? ActionButtonCommand { get; set; } = null;
+ public KryptonCommand? ActionButtonCommand
+ {
+ get; set;
+ }
/// Gets or sets the application image.
/// The application image.
- public Image? ApplicationImage { get; set; } = null;
+ public Image? ApplicationImage
+ {
+ get; set;
+ }
/// Gets or sets the application path.
/// The application path.
- public string? ApplicationPath { get; set; } = string.Empty;
+ public string? ApplicationPath
+ {
+ get; set;
+ }
/// Gets or sets the type of the message content area.
/// The type of the message content area.
- public MessageBoxContentAreaType? MessageContentAreaType { get; set; } = MessageBoxContentAreaType.Normal;
+ public MessageBoxContentAreaType? MessageContentAreaType
+ {
+ get; set;
+ }
/// Gets or sets the link label command.
/// The link label command.
- public KryptonCommand? LinkLabelCommand { get; set; } = null;
+ public KryptonCommand? LinkLabelCommand
+ {
+ get; set;
+ }
/// Gets or sets the link launch argument.
/// The link launch argument.
- public ProcessStartInfo? LinkLaunchArgument { get; set; } = null;
+ public ProcessStartInfo? LinkLaunchArgument
+ {
+ get; set;
+ }
/// Gets or sets the content link area.
/// The content link area.
- public LinkArea? ContentLinkArea { get; set; } = default;
+ public LinkArea? ContentLinkArea
+ {
+ get; set;
+ }
/// Gets or sets the message text alignment.
/// The message text alignment.
- public ContentAlignment? MessageTextAlignment { get; set; } = ContentAlignment.MiddleLeft;
+ public ContentAlignment? MessageTextAlignment
+ {
+ get; set;
+ }
/// Gets or sets the force use of operating system icons.
/// Forces the use of operating system icons.
- public bool? ForceUseOfOperatingSystemIcons { get; set; } = false;
+ public bool? ForceUseOfOperatingSystemIcons
+ {
+ get; set;
+ }
#endregion