Control that displays the content of a message box. It's meant to be used inside a C1Window.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
[TemplateVisualStateAttribute(Name = "Warning", GroupName = "IconStates")]
[TemplatePartAttribute(Name = "Buttons", Type = typeof(Panel))]
[TemplatePartAttribute(Name = "Icon", Type = typeof(Image))]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "IconStates")]
[StyleTypedPropertyAttribute(Property = "ButtonStyle", StyleTargetType = typeof(Button))]
[TemplateVisualStateAttribute(Name = "Information", GroupName = "IconStates")]
[TemplateVisualStateAttribute(Name = "Question", GroupName = "IconStates")]
[TemplateVisualStateAttribute(Name = "Error", GroupName = "IconStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
public class C1MessageBoxContent : Control
Visual Basic
<TemplateVisualStateAttribute(Name := "Warning", GroupName := "IconStates")> _
<TemplatePartAttribute(Name := "Buttons", Type := GetType(Panel))> _
<TemplatePartAttribute(Name := "Icon", Type := GetType(Image))> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "IconStates")> _
<StyleTypedPropertyAttribute(Property := "ButtonStyle", StyleTargetType := GetType(Button))> _
<TemplateVisualStateAttribute(Name := "Information", GroupName := "IconStates")> _
<TemplateVisualStateAttribute(Name := "Question", GroupName := "IconStates")> _
<TemplateVisualStateAttribute(Name := "Error", GroupName := "IconStates")> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
Public Class C1MessageBoxContent _
	Inherits Control

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Silverlight..::..C1MessageBoxContent

See Also