Class CustomMessageBoxResult
Provides a class to encapsulate the button selection and checkbox state of the CustomMessageBox.
Inheritance
System.Object
CustomMessageBoxResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.dll
Syntax
public class CustomMessageBoxResult
Constructors
View SourceCustomMessageBoxResult(MessageBoxResult, Boolean)
Initializes a new instance of the CustomMessageBoxResult class.
Declaration
public CustomMessageBoxResult(MessageBoxResult messageBoxResult, bool checkBoxIsChecked)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.MessageBoxResult | messageBoxResult | The result of the user message box option selection. |
System.Boolean | checkBoxIsChecked | Whether the checkbox was selected. |
Properties
View SourceCheckBoxIsChecked
Gets or sets a value indicating whether the checkbox was selected.
Declaration
public bool CheckBoxIsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MessageBoxResult
Gets or sets a value indicating the MessageBoxResult.
Declaration
public MessageBoxResult MessageBoxResult { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.MessageBoxResult |