Initial Commit
This commit is contained in:
17
Common/Auxiliary/BindingHelper.cs
Normal file
17
Common/Auxiliary/BindingHelper.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Data;
|
||||
using System.Windows;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Common.Auxiliary
|
||||
{
|
||||
public static class BindingHelper
|
||||
{
|
||||
public static Binding CreateAttachedPropertyBinding(DependencyProperty attachedProperty)
|
||||
{
|
||||
return new Binding { Path = new PropertyPath("(0)", attachedProperty) };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user