Table of Contents

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

DependencyProperty

CaptionProperty

Gets or sets the title bar caption to display.

public static readonly DependencyProperty CaptionProperty

Field Value

DependencyProperty

CommandProperty

Gets or sets the message box results command.

public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

IconProperty

Gets or sets the icon to display.

public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

ResultProperty

Gets or sets the default result of the message box.

public static readonly DependencyProperty ResultProperty

Field Value

DependencyProperty

TextProperty

Gets or sets the text to display.

public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

Properties

Button

Gets or sets the button or buttons to display.

public MessageBoxButton Button { get; set; }

Property Value

MessageBoxButton

Caption

Gets or sets the title bar caption to display.

public string? Caption { get; set; }

Property Value

string

Command

Gets or sets the message box results command.

public ICommand? Command { get; set; }

Property Value

ICommand

Icon

Gets or sets the icon to display.

public MessageBoxImage Icon { get; set; }

Property Value

MessageBoxImage

Result

Gets or sets the default result of the message box.

public MessageBoxResult Result { get; set; }

Property Value

MessageBoxResult

Text

Gets or sets the text to display.

public string? Text { get; set; }

Property Value

string