コード例 #1
0
ファイル: PropertyGrid.cs プロジェクト: zparr/ATF
        /// <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;
        }
コード例 #2
0
ファイル: PropertyGrid.cs プロジェクト: sbambach/ATF
        /// <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;
        }
コード例 #3
0
ファイル: PropertyGrid.cs プロジェクト: brobits/ATF
 /// <summary>
 /// Constructor</summary>
 public PropertyGrid()
 {
     Editors = new ObservableCollection <ValueEditor>();
     EditorTemplateSelector = new EditorTemplateSelector(Editors);
     Grouping = DefaultPropertyGrouping.ByCategory;
 }
コード例 #4
0
ファイル: PropertyGrid.cs プロジェクト: vincenthamm/ATF
 /// <summary>
 /// Constructor</summary>
 public PropertyGrid()
 {
     Editors = new ObservableCollection<ValueEditor>();
     EditorTemplateSelector = new EditorTemplateSelector(Editors);
     Grouping = DefaultPropertyGrouping.ByCategory;
 }