Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Common/NotifyingPanels/NotifyingGrid.cs @ 13808

Last change on this file since 13808 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 803 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Controls;
6using System.Windows;
7
8namespace Microsoft.Research.DynamicDataDisplay.Common
9{
10  internal sealed class NotifyingGrid : Grid, INotifyingPanel
11  {
12    #region INotifyingPanel Members
13
14    private NotifyingUIElementCollection notifyingChildren;
15    public NotifyingUIElementCollection NotifyingChildren
16    {
17      get { return notifyingChildren; }
18    }
19
20    protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
21    {
22      notifyingChildren = new NotifyingUIElementCollection(this, logicalParent);
23      ChildrenCreated.Raise(this);
24
25      return notifyingChildren;
26    }
27
28    public event EventHandler ChildrenCreated;
29
30    #endregion
31  }
32}
Note: See TracBrowser for help on using the repository browser.