The control used by the C1PropertyGrid to display the SelectedObject's properties.

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

Syntax

C#
[TemplatePartAttribute(Name = "ResetButton", Type = typeof(Button))]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[StyleTypedPropertyAttribute(Property = "LabelStyle", StyleTargetType = typeof(TextBlock))]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "EditorBorder", Type = typeof(Border))]
[TemplatePartAttribute(Name = "Root", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "Label", Type = typeof(TextBlock))]
[TemplateVisualStateAttribute(Name = "ResetButtonShown", GroupName = "ResetButtonStates")]
[TemplateVisualStateAttribute(Name = "ResetButtonHidden", GroupName = "ResetButtonStates")]
public class PropertyBox : Control
Visual Basic
<TemplatePartAttribute(Name := "ResetButton", Type := GetType(Button))> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<StyleTypedPropertyAttribute(Property := "LabelStyle", StyleTargetType := GetType(TextBlock))> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "EditorBorder", Type := GetType(Border))> _
<TemplatePartAttribute(Name := "Root", Type := GetType(Grid))> _
<TemplatePartAttribute(Name := "Label", Type := GetType(TextBlock))> _
<TemplateVisualStateAttribute(Name := "ResetButtonShown", GroupName := "ResetButtonStates")> _
<TemplateVisualStateAttribute(Name := "ResetButtonHidden", GroupName := "ResetButtonStates")> _
Public Class PropertyBox _
	Inherits Control

Inheritance Hierarchy

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

See Also