/// <summary> /// Constructor</summary> public PropertyGrid() { Editors = new ObservableCollection <ValueEditor>(); EditorTemplateSelector = new EditorTemplateSelector(Editors); // Set up 50ms binding guard timer to prevent rapid updates from slowing // down the property grid m_bindingUpdateTimer = new DispatcherTimer(); m_bindingUpdateTimer.Tick += BindingUpdateTimer_Tick; m_bindingUpdateTimer.Interval = TimeSpan.FromMilliseconds(50); Grouping = DefaultPropertyGrouping.ByCategory; Loaded += PropertyGrid_Loaded; Unloaded += PropertyGrid_Unloaded; }
/// <summary> /// Constructor</summary> public PropertyGrid() { Editors = new ObservableCollection<ValueEditor>(); EditorTemplateSelector = new EditorTemplateSelector(Editors); // Set up 50ms binding guard timer to prevent rapid updates from slowing // down the property grid m_bindingUpdateTimer = new DispatcherTimer(); m_bindingUpdateTimer.Tick += BindingUpdateTimer_Tick; m_bindingUpdateTimer.Interval = TimeSpan.FromMilliseconds(50); Grouping = DefaultPropertyGrouping.ByCategory; Loaded += PropertyGrid_Loaded; Unloaded += PropertyGrid_Unloaded; }
/// <summary> /// Constructor</summary> public PropertyGrid() { Editors = new ObservableCollection <ValueEditor>(); EditorTemplateSelector = new EditorTemplateSelector(Editors); Grouping = DefaultPropertyGrouping.ByCategory; }
/// <summary> /// Constructor</summary> public PropertyGrid() { Editors = new ObservableCollection<ValueEditor>(); EditorTemplateSelector = new EditorTemplateSelector(Editors); Grouping = DefaultPropertyGrouping.ByCategory; }