Skip to content

Commit

Permalink
Update KryptonMessageBoxData.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
PWagner1 committed Dec 1, 2023
1 parent 0f81a91 commit 77e1673
Showing 1 changed file with 70 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct KryptonMessageBoxData

/// <summary>Gets or sets the owner window.</summary>
/// <value>The owner window.</value>
public IWin32Window? Owner { get; set; } = null;
public IWin32Window? Owner { get; set; }

/// <summary>Gets or sets the message text.</summary>
/// <value>The message text.</value>
Expand All @@ -30,75 +30,126 @@ public struct KryptonMessageBoxData

/// <summary>Gets or sets the buttons.</summary>
/// <value>The buttons.</value>
public KryptonMessageBoxButtons Buttons { get; set; } = KryptonMessageBoxButtons.OK;
public KryptonMessageBoxButtons Buttons { get; set; }

/// <summary>Gets or sets the icon.</summary>
/// <value>The icon.</value>
public KryptonMessageBoxIcon Icon { get; set; } = KryptonMessageBoxIcon.None;
public KryptonMessageBoxIcon Icon
{
get; set;
}

/// <summary>Gets or sets the default button.</summary>
/// <value>The default button.</value>
public KryptonMessageBoxDefaultButton? DefaultButton { get; set; } = KryptonMessageBoxDefaultButton.Button1;
public KryptonMessageBoxDefaultButton? DefaultButton
{
get; set;
}

/// <summary>Gets or sets the <see cref="MessageBoxOptions"/>.</summary>
/// <value>The <see cref="MessageBoxOptions"/>.</value>
public MessageBoxOptions Options { get; set; } = MessageBoxOptions.DefaultDesktopOnly;
public MessageBoxOptions Options
{
get; set;
}

/// <summary>Gets or sets the help information.</summary>
/// <value>The help information.</value>
public HelpInfo? HelpInfo { get; set; } = null;
public HelpInfo? HelpInfo
{
get; set;
}

/// <summary>Gets or sets the show control copy.</summary>
/// <value>The show control copy.</value>
public bool? ShowCtrlCopy { get; set; } = false;
public bool? ShowCtrlCopy
{
get; set;
}

/// <summary>Gets or sets the show help button.</summary>
/// <value>The show help button.</value>
public bool? ShowHelpButton { get; set; } = false;
public bool? ShowHelpButton
{
get; set;
}

/// <summary>Gets or sets the show action button.</summary>
/// <value>The show action button.</value>
public bool? ShowActionButton { get; set; } = false;
public bool? ShowActionButton
{
get; set;
}

/// <summary>Gets or sets the action button text.</summary>
/// <value>The action button text.</value>
public string? ActionButtonText { get; set; } = string.Empty;
public string? ActionButtonText
{
get; set;
}

/// <summary>Gets or sets the action button command.</summary>
/// <value>The action button command.</value>
public KryptonCommand? ActionButtonCommand { get; set; } = null;
public KryptonCommand? ActionButtonCommand
{
get; set;
}

/// <summary>Gets or sets the application image.</summary>
/// <value>The application image.</value>
public Image? ApplicationImage { get; set; } = null;
public Image? ApplicationImage
{
get; set;
}

/// <summary>Gets or sets the application path.</summary>
/// <value>The application path.</value>
public string? ApplicationPath { get; set; } = string.Empty;
public string? ApplicationPath
{
get; set;
}

/// <summary>Gets or sets the type of the message content area.</summary>
/// <value>The type of the message content area.</value>
public MessageBoxContentAreaType? MessageContentAreaType { get; set; } = MessageBoxContentAreaType.Normal;
public MessageBoxContentAreaType? MessageContentAreaType
{
get; set;
}

/// <summary>Gets or sets the link label command.</summary>
/// <value>The link label command.</value>
public KryptonCommand? LinkLabelCommand { get; set; } = null;
public KryptonCommand? LinkLabelCommand
{
get; set;
}

/// <summary>Gets or sets the link launch argument.</summary>
/// <value>The link launch argument.</value>
public ProcessStartInfo? LinkLaunchArgument { get; set; } = null;
public ProcessStartInfo? LinkLaunchArgument
{
get; set;
}

/// <summary>Gets or sets the content link area.</summary>
/// <value>The content link area.</value>
public LinkArea? ContentLinkArea { get; set; } = default;
public LinkArea? ContentLinkArea
{
get; set;
}

/// <summary>Gets or sets the message text alignment.</summary>
/// <value>The message text alignment.</value>
public ContentAlignment? MessageTextAlignment { get; set; } = ContentAlignment.MiddleLeft;
public ContentAlignment? MessageTextAlignment
{
get; set;
}

/// <summary>Gets or sets the force use of operating system icons.</summary>
/// <value>Forces the use of operating system icons.</value>
public bool? ForceUseOfOperatingSystemIcons { get; set; } = false;
public bool? ForceUseOfOperatingSystemIcons
{
get; set;
}

#endregion

Expand Down

0 comments on commit 77e1673

Please sign in to comment.