Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Common/Auxiliary/MarkupExtensions/SelfBinding.cs @ 13757

Last change on this file since 13757 was 12503, checked in by aballeit, 10 years ago

#2283 added GUI and charts; fixed MCTS

File size: 484 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Data;
6using System.Windows;
7
8namespace Microsoft.Research.DynamicDataDisplay.MarkupExtensions
9{
10  public class SelfBinding : Binding
11  {
12    public SelfBinding()
13    {
14      RelativeSource = new RelativeSource { Mode = RelativeSourceMode.Self };
15    }
16
17    public SelfBinding(string propertyPath)
18      : this()
19    {
20      Path = new PropertyPath(propertyPath);
21    }
22  }
23}
Note: See TracBrowser for help on using the repository browser.