Пример #1
0
 internal bool IsValidTarget(DependencyProperty dp)
 {
     return(dp.PropertyType.IsAssignableFrom(TargetPropertyType) || TargetPropertyType == typeof(object));
 }
Пример #2
0
 public void InvalidateProperty(DependencyProperty dp)
 {
     InvalidatePropertyHelper(dp);
 }
Пример #3
0
        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);
        }
Пример #4
0
        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));
        }
Пример #5
0
        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);
        }
Пример #6
0
        public BindingExpression GetBindingExpression(DependencyProperty dp)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_GetBindingExpression(swigCPtr, DependencyProperty.getCPtr(dp));

            return((BindingExpression)Noesis.Extend.GetProxy(cPtr, false));
        }
Пример #7
0
        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);
        }
Пример #8
0
        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);
        }