Class ContentDialogArgs
MessageDialog Argument class that holds all needed information to display a message dialog.
Inheritance
System.Object
ContentDialogArgs
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: 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 |
---|---|---|
System.Object | title | The title of the content dialog. |
System.Windows.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 |
---|---|
System.Object |