[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r137148 -
From:       "Alan McGovern (alan.mcgovern () gmail ! com)"
Date:       2009-06-30 13:50:07
Message-ID: 20090630135007.BA9919472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: alanmc
Date: 2009-06-30 09:50:07 -0400 (Tue, 30 Jun 2009)
New Revision: 137148

Modified:
   trunk/moon/class/System.Windows/System.Windows.Data/BindingExpressionBase.cs
   trunk/moon/class/System.Windows/System.Windows.Data/ChangeLog
Log:
2009-06-30  Alan McGovern  <amcgovern@novell.com>

	* class/System.Windows/System.Windows.Data/BindingExpressionBase.cs:
	  OneTime bindings can be invalidated and they do reflect the
	  new value.

Modified: trunk/moon/class/System.Windows/System.Windows.Data/BindingExpressionBase.cs
 ===================================================================
--- trunk/moon/class/System.Windows/System.Windows.Data/BindingExpressionBase.cs	2009-06-30 \
                13:28:54 UTC (rev 137147)
+++ trunk/moon/class/System.Windows/System.Windows.Data/BindingExpressionBase.cs	2009-06-30 \
13:50:07 UTC (rev 137148) @@ -169,9 +169,6 @@
 
 		public void Invalidate ()
 		{
-			if (Binding.Mode == BindingMode.OneTime)
-				return;
-			
 			cached = false;
 			cachedValue = null;
 			info = null;

Modified: trunk/moon/class/System.Windows/System.Windows.Data/ChangeLog
===================================================================
--- trunk/moon/class/System.Windows/System.Windows.Data/ChangeLog	2009-06-30 13:28:54 \
                UTC (rev 137147)
+++ trunk/moon/class/System.Windows/System.Windows.Data/ChangeLog	2009-06-30 13:50:07 \
UTC (rev 137148) @@ -1,3 +1,8 @@
+2009-06-30  Alan McGovern  <amcgovern@novell.com>
+
+	* BindingExpressionBase.cs: OneTime bindings can be
+	  invalidated and they do reflect the new value.
+
 2009-06-23  Alan McGovern  <amcgovern@novell.com>
 
 	* Binding.cs: Don't null check value before using it, we

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic