public static WBinding GetForegroundBinding(this FrameworkElement element) { WBindingExpression expr = element.GetBindingExpression(GetForegroundProperty(element)); if (expr == null) { return(null); } return(expr.ParentBinding); }
/// <summary> /// Initializes a new instance of the <see cref="BindingExpression"/> class, a /// Wpf-enabled wrapper for <see cref="windows.UI.Xaml.Data.BindingExpression"/> /// </summary> public BindingExpression(windows.UI.Xaml.Data.BindingExpression instance) { UwpInstance = instance; }