Answers for "find text in textbox clipboard c#"

C#
1

copy text from a text box c#

if(textBox1.SelectionLength>0)
            {
                textBox1.Copy();
            }
Posted by: Guest on July-18-2020
0

c# wpf get clipboard text

//for wpf
using System.Windows;

Clipboard.GetText() //gets Text as string
Clipboard.SetText("hello"); //sets Clipboard to "hello"
Posted by: Guest on January-10-2022

C# Answers by Framework

Browse Popular Code Answers by Language