PropertyContainer Class

Used as a graphical container for PropertyEntry instances.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Class PropertyContainer _
    Inherits Control _
    Implements INotifyPropertyChanged
'Usage
Dim instance As PropertyContainer
public class PropertyContainer : Control, 
    INotifyPropertyChanged
public ref class PropertyContainer : public Control, 
    INotifyPropertyChanged
public class PropertyContainer extends Control implements INotifyPropertyChanged

Remarks

This control is look-less, which means that the behavior of the control is defined, but not the look. However, it is generally styled as a horizontal row that includes the name of the property followed by an editor for its value. However, this control is intended to be restyled by third-parties to suite their needs. The style is controlled by three ControlTemplate types (InlineRowTemplate, ExtendedPopupRowTemplate, and ExtendedPinnedRowTemplate) that are selected by the logic within this control. This logic is based on the current value of the ActiveEditMode property. This control also exposes three DataTemplate types (InlineEditorTemplate, ExtendedEditorTemplate, and DialogEditorTemplate) that each of the row templates can use to display the appropriate value editor for the PropertyValue being edited.

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
              Microsoft.Windows.Design.PropertyEditing.PropertyContainer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PropertyContainer Members

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture