Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public APIs Copy, Cut, Paste and SelectedText in TextField or TextEditor #1735

Open
shrouqsabah opened this issue Nov 27, 2022 · 0 comments
Open

Comments

@shrouqsabah
Copy link
Contributor

We need to explain how to use public APIs Copy, Cut, Paste and SelectedText in TextField or TextEditor.

APIs:

src/Tizen.NUI/src/public/BaseComponents/TextUtils.cs

  • public static string CopyToClipboard(TextEditor textEditor);
  • public static string CopyToClipboard(TextField textField)
  • public static string CutToClipboard(TextEditor textEditor)
  • public static string CutToClipboard(TextField textField)
  • public static void PasteTo(TextEditor textEditor)
  • public static void PasteTo(TextField textField)

src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs

  • public void SelectText(int start, int end);

src/Tizen.NUI/src/public/BaseComponents/TextField.cs

  • public void SelectText(int start, int end);

We will add docs in docs/application/dotnet/guides/user-interface/nui/text.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant