internal bool IsValidTarget(DependencyProperty dp) { return(dp.PropertyType.IsAssignableFrom(TargetPropertyType) || TargetPropertyType == typeof(object)); }
public void InvalidateProperty(DependencyProperty dp) { InvalidatePropertyHelper(dp); }
private IntPtr ReadLocalValueHelper(DependencyProperty dp) { IntPtr ret = NoesisGUI_PINVOKE.DependencyObject_ReadLocalValueHelper(swigCPtr, DependencyProperty.getCPtr(dp)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BindingExpression SetBinding(DependencyProperty dp, string path) { IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_SetBinding__SWIG_1(swigCPtr, DependencyProperty.getCPtr(dp), path != null ? path : string.Empty); return((BindingExpression)Noesis.Extend.GetProxy(cPtr, false)); }
public BindingExpressionBase SetBinding(DependencyProperty dp, BindingBase binding) { IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_SetBinding__SWIG_0(swigCPtr, DependencyProperty.getCPtr(dp), BindingBase.getCPtr(binding)); BindingExpressionBase ret = (cPtr == IntPtr.Zero) ? null : new BindingExpressionBase(cPtr, false); return(ret); }
public BindingExpression GetBindingExpression(DependencyProperty dp) { IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_GetBindingExpression(swigCPtr, DependencyProperty.getCPtr(dp)); return((BindingExpression)Noesis.Extend.GetProxy(cPtr, false)); }
public BindingExpression SetBinding(DependencyProperty dp, string path) { IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_SetBinding__SWIG_1(swigCPtr, DependencyProperty.getCPtr(dp), path != null ? path : string.Empty); BindingExpression ret = (cPtr == IntPtr.Zero) ? null : new BindingExpression(cPtr, false); return(ret); }
public BindingExpression GetBindingExpression(DependencyProperty dp) { IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_GetBindingExpression(swigCPtr, DependencyProperty.getCPtr(dp)); BindingExpression ret = (cPtr == IntPtr.Zero) ? null : new BindingExpression(cPtr, false); return(ret); }