Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: How to notify PropertyGrid that item in the Custom Editor has changed?

$
0
0
Solved, no more help required.
I added SelectedPropertyItemChanged handler to the PropertyGrid and RaiseEvent call on OnPropertyChanged in custom editor.
        protected void OnPropertyChanged(string name)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(name));
            RaiseEvent(new RoutedPropertyChangedEventArgs<PropertyItemBase>(_item, _item, PropertyGrid.SelectedPropertyItemChangedEvent));
        }
Regards,
Xandro

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>