Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows.Controls;
|
---|
6 | using System.Windows;
|
---|
7 |
|
---|
8 | namespace 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.