OSDN Git Service

UIVerfyToolのValueテストに通らない点を修正した
authorkonekoneko <test2214@hotmail.co.jp>
Fri, 2 May 2014 18:43:11 +0000 (03:43 +0900)
committerkonekoneko <test2214@hotmail.co.jp>
Fri, 2 May 2014 18:43:11 +0000 (03:43 +0900)
Common/Automaion/FooTextBoxAutomationPeer.cs

index cd798cc..384c304 100644 (file)
@@ -237,7 +237,9 @@ namespace FooEditEngine
 
         void IValueProvider.SetValue(string value)
         {
+            string oldText = this.fooTextBox.Document.ToString(0);
             this.fooTextBox.Document.Replace(0,this.fooTextBox.Document.Length,value);
+            this.RaisePropertyChangedEvent(ValuePatternIdentifiers.ValueProperty, oldText, this.fooTextBox.Document.ToString(0));
         }
 
         string IValueProvider.Value