Example #1
0
        /// <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;
        }
Example #2
0
        /// <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;
        }
Example #3
0
 /// <summary>
 /// Constructor</summary>
 public PropertyGrid()
 {
     Editors = new ObservableCollection <ValueEditor>();
     EditorTemplateSelector = new EditorTemplateSelector(Editors);
     Grouping = DefaultPropertyGrouping.ByCategory;
 }
Example #4
0
 /// <summary>
 /// Constructor</summary>
 public PropertyGrid()
 {
     Editors = new ObservableCollection<ValueEditor>();
     EditorTemplateSelector = new EditorTemplateSelector(Editors);
     Grouping = DefaultPropertyGrouping.ByCategory;
 }