private void OnPropertyPickerExtendedEditor(object sender, RoutedEventArgs e)
        {
            PropertyContainer propertyContainer = (PropertyContainer)this.GetValue(PropertyContainer.OwningPropertyContainerProperty);

            if (propertyContainer == null)
            {
                return;
            }
            this.contextHelper          = (EditingPropertyManager)propertyContainer.GetValue(EditingPropertyManager.EditingPropertyManagerProperty);
            this.contextHelper.Rebuilt += new EventHandler(this.Rebuild);
            this.contextHelper.EditingPropertyChanged += new EventHandler(this.EditingPropertyChanged);
            this.contextHelper.Rebuild();
        }
예제 #2
0
 public PropertyPickerEditor()
 {
     this.contextHelper          = new EditingPropertyManager((FrameworkElement)this);
     this.contextHelper.Rebuilt += new EventHandler(this.Rebuild);
     this.InitializeComponent();
 }