Exemplo n.º 1
0
 internal bool IsValidTarget(DependencyProperty dp)
 {
     return(dp.PropertyType.IsAssignableFrom(TargetPropertyType) || TargetPropertyType == typeof(object));
 }
Exemplo n.º 2
0
 public void InvalidateProperty(DependencyProperty dp)
 {
     InvalidatePropertyHelper(dp);
 }
Exemplo n.º 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);
        }
Exemplo n.º 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));
        }
Exemplo n.º 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);
        }
Exemplo n.º 6
0
        public BindingExpression GetBindingExpression(DependencyProperty dp)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.FrameworkElement_GetBindingExpression(swigCPtr, DependencyProperty.getCPtr(dp));

            return((BindingExpression)Noesis.Extend.GetProxy(cPtr, false));
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }