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