OSDN Git Service

コア部分を共通プロジェクト化した
[fooeditengine/FooEditEngine.git] / Core / Automaion / FooTextBoxAutomationPeer.cs
similarity index 99%
rename from Common/Automaion/FooTextBoxAutomationPeer.cs
rename to Core/Automaion/FooTextBoxAutomationPeer.cs
index 1376d0d..4b4b497 100644 (file)
@@ -33,6 +33,7 @@ using FooEditEngine.WPF;
 
 namespace FooEditEngine
 {
+#if METRO || WPF
     /// <summary>
     /// Automation Peer class for CustomInputBox2.  
     /// 
@@ -135,7 +136,7 @@ namespace FooEditEngine
         }
 #endif
 
-        #region Implementation for ITextPattern interface
+    #region Implementation for ITextPattern interface
         // Complete implementation of the ITextPattern is beyond the scope of this sample.  The implementation provided
         // is specific to this sample's custom control, so it is unlikely that they are directly transferable to other 
         // custom control.
@@ -219,9 +220,9 @@ namespace FooEditEngine
             get { return SupportedTextSelection.Single; }
         }
 
-        #endregion
+    #endregion
 
-        #region Implementation for IValueProvider interface
+    #region Implementation for IValueProvider interface
         // Complete implementation of the IValueProvider is beyond the scope of this sample.  The implementation provided
         // is specific to this sample's custom control, so it is unlikely that they are directly transferable to other 
         // custom control.
@@ -250,7 +251,7 @@ namespace FooEditEngine
             }
         }
 
-        #endregion //Implementation for IValueProvider interface
+    #endregion //Implementation for IValueProvider interface
 
         public IRawElementProviderSimple GetRawElementProviderSimple()
         {
@@ -602,4 +603,5 @@ namespace FooEditEngine
             this.textbox.Select(this.start, this.end - this.start + 1);
         }
     }
+#endif
 }