namespace FooEditEngine
{
+#if METRO || WPF
/// <summary>
/// Automation Peer class for CustomInputBox2.
///
}
#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.
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.
}
}
- #endregion //Implementation for IValueProvider interface
+ #endregion //Implementation for IValueProvider interface
public IRawElementProviderSimple GetRawElementProviderSimple()
{
this.textbox.Select(this.start, this.end - this.start + 1);
}
}
+#endif
}