Why is this not working. i am pasting normal string...
private void button5_Click(object sender, RoutedEventArgs e)
{
TextBox02.Text = Clipboard.GetText();
}
Clipboard.GetText
is not available to Windows Phone applications. MSDN states:
You cannot get clipboard text from a Windows Phone application, only set it. Calling the GetText method in a Windows Phone application will always cause a SecurityException to occur.
I am not aware of any way to read the clipboard data in Windows Phone.