Control that displays the content of a message box. It's meant to be used inside a C1.Silverlight.C1Window.
Syntax
'Declaration
<TemplatePartAttribute(Name="Buttons", Type=System.Windows.Controls.Panel)>
<TemplatePartAttribute(Name="Icon", Type=System.Windows.Controls.Image)>
<TemplateVisualStateAttribute(Name="Warning", GroupName="IconStates")>
<TemplateVisualStateAttribute(Name="Error", GroupName="IconStates")>
<TemplateVisualStateAttribute(Name="Question", GroupName="IconStates")>
<TemplateVisualStateAttribute(Name="Information", GroupName="IconStates")>
<TemplateVisualStateAttribute(Name="Normal", GroupName="IconStates")>
<TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<StyleTypedPropertyAttribute(Property="ButtonStyle", StyleTargetType=System.Windows.Controls.Button)>
Public Class C1MessageBoxContent
Inherits System.Windows.Controls.Control
'Usage
Dim instance As C1MessageBoxContent
[TemplatePart(Name="Buttons", Type=System.Windows.Controls.Panel)]
[TemplatePart(Name="Icon", Type=System.Windows.Controls.Image)]
[TemplateVisualState(Name="Warning", GroupName="IconStates")]
[TemplateVisualState(Name="Error", GroupName="IconStates")]
[TemplateVisualState(Name="Question", GroupName="IconStates")]
[TemplateVisualState(Name="Information", GroupName="IconStates")]
[TemplateVisualState(Name="Normal", GroupName="IconStates")]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[StyleTypedProperty(Property="ButtonStyle", StyleTargetType=System.Windows.Controls.Button)]
public class C1MessageBoxContent : System.Windows.Controls.Control
[TemplatePart(Name="Buttons", Type=System.Windows.Controls.Panel)]
[TemplatePart(Name="Icon", Type=System.Windows.Controls.Image)]
[TemplateVisualState(Name="Warning", GroupName="IconStates")]
[TemplateVisualState(Name="Error", GroupName="IconStates")]
[TemplateVisualState(Name="Question", GroupName="IconStates")]
[TemplateVisualState(Name="Information", GroupName="IconStates")]
[TemplateVisualState(Name="Normal", GroupName="IconStates")]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[StyleTypedProperty(Property="ButtonStyle", StyleTargetType=System.Windows.Controls.Button)]
public ref class C1MessageBoxContent : public System.Windows.Controls.Control
Inheritance Hierarchy
See Also