Control that displays the content of a message box. It's meant to be used inside a C1Window.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
C# |
---|
[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")] [TemplatePartAttribute(Name = "Icon", Type = typeof(Image))] [TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")] [StyleTypedPropertyAttribute(Property = "ButtonStyle", StyleTargetType = typeof(Button))] [TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")] [TemplatePartAttribute(Name = "Buttons", Type = typeof(Panel))] public class C1MessageBoxContent : Control |
Visual Basic |
---|
<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")> _ <TemplatePartAttribute(Name := "Icon", Type := GetType(Image))> _ <TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _ <StyleTypedPropertyAttribute(Property := "ButtonStyle", StyleTargetType := GetType(Button))> _ <TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _ <TemplatePartAttribute(Name := "Buttons", Type := GetType(Panel))> _ Public Class C1MessageBoxContent _ Inherits Control |
XAML Object Element Usage |
---|
<C1MessageBoxContent .../> |
Inheritance Hierarchy
System..::..Object
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.WPF..::..C1MessageBoxContent
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.WPF..::..C1MessageBoxContent