Back to API Home

Simple application modal MessageBox for displaying alerts. Four icons are supported, along with several button options.

Namespace: Dundas.Dashboard.Controls
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
[TemplatePartAttribute(Name = "IconQuestion", Type = typeof(UIElement))]
[TemplatePartAttribute(Name = "IconInformation", Type = typeof(UIElement))]
[TemplatePartAttribute(Name = "IconCross", Type = typeof(UIElement))]
[TemplatePartAttribute(Name = "IconExclamation", Type = typeof(UIElement))]
public sealed class MessageBox : DefaultButtonDialog
Visual Basic
<TemplatePartAttribute(Name := "IconQuestion", Type := GetType(UIElement))> 
<TemplatePartAttribute(Name := "IconInformation", Type := GetType(UIElement))> 
<TemplatePartAttribute(Name := "IconCross", Type := GetType(UIElement))> 
<TemplatePartAttribute(Name := "IconExclamation", Type := GetType(UIElement))> 
Public NotInheritable Class MessageBox
	Inherits DefaultButtonDialog

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          System.Windows.Controls..::..ContentControl
            Dundas.Dashboard.Controls..::..Dialog
              DefaultButtonDialog
                Dundas.Dashboard.Controls..::..MessageBox

See Also