The C1PropertyGrid Provides a user interface for browsing the properties of an object.

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

Syntax

C#
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[DefaultMemberAttribute("Item")]
[TemplatePartAttribute(Name = "Methods", Type = typeof(ItemsControl))]
[TemplatePartAttribute(Name = "Description", Type = typeof(TextBlock))]
[TemplatePartAttribute(Name = "DescriptionArea", Type = typeof(Border))]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "Properties", Type = typeof(ItemsControl))]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[StyleTypedPropertyAttribute(Property = "LabelStyle", StyleTargetType = typeof(TextBlock))]
[StyleTypedPropertyAttribute(Property = "CategoryContainerStyle", StyleTargetType = typeof(C1Expander))]
[StyleTypedPropertyAttribute(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
public class C1PropertyGrid : Control
Visual Basic
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<DefaultMemberAttribute("Item")> _
<TemplatePartAttribute(Name := "Methods", Type := GetType(ItemsControl))> _
<TemplatePartAttribute(Name := "Description", Type := GetType(TextBlock))> _
<TemplatePartAttribute(Name := "DescriptionArea", Type := GetType(Border))> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "Properties", Type := GetType(ItemsControl))> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<StyleTypedPropertyAttribute(Property := "LabelStyle", StyleTargetType := GetType(TextBlock))> _
<StyleTypedPropertyAttribute(Property := "CategoryContainerStyle", StyleTargetType := GetType(C1Expander))> _
<StyleTypedPropertyAttribute(Property := "ScrollBarStyle", StyleTargetType := GetType(ScrollBar))> _
Public Class C1PropertyGrid _
	Inherits Control

Inheritance Hierarchy

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

See Also