A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
912 B

namespace Perspex.Xaml.DataBinding
{
using ChangeTracking;
using Controls;
public class XamlBindingDefinition
{
private PropertyPath sourcePropertyPath;
private BindingMode bindingMode;
private readonly Control target;
private readonly PerspexProperty targetProperty;
public XamlBindingDefinition(Control target, PerspexProperty targetProperty, PropertyPath sourcePropertyPath, BindingMode bindingMode)
{
this.target = target;
this.targetProperty = targetProperty;
this.sourcePropertyPath = sourcePropertyPath;
this.bindingMode = bindingMode;
}
public Control Target => target;
public PerspexProperty TargetProperty => targetProperty;
public PropertyPath SourcePropertyPath => sourcePropertyPath;
public BindingMode BindingMode => bindingMode;
}
}