+bool TextField::AccessibleImpl::InsertText(size_t startPosition, std::string text)
+{
+ auto self = Toolkit::TextField::DownCast(Self());
+ auto insertedText = self.GetProperty(Toolkit::TextField::Property::TEXT).Get<std::string>();
+
+ insertedText.insert(startPosition, text);
+
+ self.SetProperty(Toolkit::TextField::Property::TEXT, std::move(insertedText));
+
+ return true;
+}
+
+bool TextField::AccessibleImpl::SetTextContents(std::string newContents)
+{
+ auto self = Toolkit::TextField::DownCast(Self());
+ self.SetProperty(Toolkit::TextField::Property::TEXT, std::move(newContents));
+ return true;
+}
+