Class MessageBoxParameters
- Namespace
- Tudormobile.Wpf.Commands
- Assembly
- Tudormobile.WpfApp.dll
Message box (dialog) parameters.
[TypeConverter(typeof(MessageBoxParametersConverter))]
public class MessageBoxParameters : DependencyObject
- Inheritance
-
MessageBoxParameters
- Inherited Members
Fields
ButtonProperty
Gets or sets the button or buttons to display.
public static readonly DependencyProperty ButtonProperty
Field Value
CaptionProperty
Gets or sets the title bar caption to display.
public static readonly DependencyProperty CaptionProperty
Field Value
CommandProperty
Gets or sets the message box results command.
public static readonly DependencyProperty CommandProperty
Field Value
IconProperty
Gets or sets the icon to display.
public static readonly DependencyProperty IconProperty
Field Value
ResultProperty
Gets or sets the default result of the message box.
public static readonly DependencyProperty ResultProperty
Field Value
TextProperty
Gets or sets the text to display.
public static readonly DependencyProperty TextProperty
Field Value
Properties
Button
Gets or sets the button or buttons to display.
public MessageBoxButton Button { get; set; }
Property Value
Caption
Gets or sets the title bar caption to display.
public string? Caption { get; set; }
Property Value
Command
Gets or sets the message box results command.
public ICommand? Command { get; set; }
Property Value
Icon
Gets or sets the icon to display.
public MessageBoxImage Icon { get; set; }
Property Value
Result
Gets or sets the default result of the message box.
public MessageBoxResult Result { get; set; }
Property Value
Text
Gets or sets the text to display.
public string? Text { get; set; }