Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't paste all text in wpf textbox

Tags:

I have a simple window and textbox, when i try to paste this code to the textbox

[Code]General           : sample.avi Format            : AVI Length            : 380 MiB for 16mn 57s 320ms  Video #0          : DivX 5 at 2994 Kbps Aspect            : 1024 x 576 () at 25.000 fps  Audio #0          : MPEG-1 Audio layer 3 at 128 Kbps Infos             : 2 channels, 48.0 KHz   [/code] 

It stops after

[Code]General           : sample.avi 

Why?

like image 779
Programista Avatar asked Oct 18 '11 13:10

Programista


1 Answers

You need to allow your TextBox to accept newlines:

AcceptsReturn="True" 
like image 71
Joe Mancuso Avatar answered Oct 17 '22 07:10

Joe Mancuso