Class ContentDialogArgs
MessageDialog Argument class that holds all needed information to display a message dialog.
Inheritance
ContentDialogArgs
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ContentDialogArgs : ContentDialogArgsBase<FrameworkElement, IContentDialogContext>
Constructors
View SourceContentDialogArgs(object, FrameworkElement, IContentDialogContext)
Creates a new instance of the ContentDialogArgs class.
Declaration
public ContentDialogArgs(object title, FrameworkElement dialogView, IContentDialogContext contentDialogContext)
Parameters
| Type | Name | Description |
|---|---|---|
| object | title | The title of the content dialog. |
| FrameworkElement | dialogView | The content of the dialog. |
| IContentDialogContext | contentDialogContext | The data context of the |
Properties
View SourceActiveButton
Defines the active button
Declaration
public DialogDefaultButton ActiveButton { get; set; }
Property Value
| Type | Description |
|---|---|
| DialogDefaultButton |
DefaultButton
Defines the default button
Declaration
public DialogDefaultButton DefaultButton { get; set; }
Property Value
| Type | Description |
|---|---|
| DialogDefaultButton |
Title
Defines the caption for the Dialog window
Declaration
public object Title { get; }
Property Value
| Type | Description |
|---|---|
| object |