![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Selectable non-edittable text? What control should I use to contain selectaable, copyable but read only text? Basically I have a couple lines of databound text that I want the user to be able to select and copy, but not edit, e.g.: Username: Ryan Member Of: Developers I've tried <TextFlow> with <Section> and <TextBlock>, and can display it properly but can't find a way to make the text selectable. Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt if at all possible. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Selectable non-edittable text? RyanLeeSchneider wrote: > What control should I use to contain selectaable, copyable but read > only text? > > Basically I have a couple lines of databound text that I want the > user to be able to select and copy, but not edit, e.g.: > > Username: Ryan > Member Of: Developers > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > it properly but can't find a way to make the text selectable. > > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > if at all possible. Did you try a TextBox with IsReadOnly="true"? HTH, Drew ___________________________________ Drew Marsh Chief Software Architect Mimeo.com, Inc. - http://www.mimeo.com Weblog - http://blog.hackedbrain.com/ |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Selectable non-edittable text? Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render rich text so it a far less than deal choice. "Drew Marsh" wrote: > RyanLeeSchneider wrote: > > > What control should I use to contain selectaable, copyable but read > > only text? > > > > Basically I have a couple lines of databound text that I want the > > user to be able to select and copy, but not edit, e.g.: > > > > Username: Ryan > > Member Of: Developers > > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > > it properly but can't find a way to make the text selectable. > > > > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > > if at all possible. > > Did you try a TextBox with IsReadOnly="true"? > > HTH, > Drew > > ___________________________________ > Drew Marsh > Chief Software Architect > Mimeo.com, Inc. - http://www.mimeo.com > Weblog - http://blog.hackedbrain.com/ > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Selectable non-edittable text? Have you tried RichTextBox? "RyanLeeSchneider" <RyanLeeSchneider@discussions.microsoft.com> wrote in message news:65880132-C37B-4B41-9683-80A92AAB4561@microsoft.com... > > Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render > rich > text so it a far less than deal choice. > > "Drew Marsh" wrote: > >> RyanLeeSchneider wrote: >> >> > What control should I use to contain selectaable, copyable but read >> > only text? >> > >> > Basically I have a couple lines of databound text that I want the >> > user to be able to select and copy, but not edit, e.g.: >> > >> > Username: Ryan >> > Member Of: Developers >> > I've tried <TextFlow> with <Section> and <TextBlock>, and can display >> > it properly but can't find a way to make the text selectable. >> > >> > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt >> > if at all possible. >> >> Did you try a TextBox with IsReadOnly="true"? >> >> HTH, >> Drew >> >> ___________________________________ >> Drew Marsh >> Chief Software Architect >> Mimeo.com, Inc. - http://www.mimeo.com >> Weblog - http://blog.hackedbrain.com/ >> >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Selectable non-edittable text? No, but that's exactly what I was looking for, can't believe I missed that. Thanks, Ryan "Dennis Cheng [MSFT]" wrote: > Have you tried RichTextBox? > > > "RyanLeeSchneider" <RyanLeeSchneider@discussions.microsoft.com> wrote in > message news:65880132-C37B-4B41-9683-80A92AAB4561@microsoft.com... > > > > Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render > > rich > > text so it a far less than deal choice. > > > > "Drew Marsh" wrote: > > > >> RyanLeeSchneider wrote: > >> > >> > What control should I use to contain selectaable, copyable but read > >> > only text? > >> > > >> > Basically I have a couple lines of databound text that I want the > >> > user to be able to select and copy, but not edit, e.g.: > >> > > >> > Username: Ryan > >> > Member Of: Developers > >> > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > >> > it properly but can't find a way to make the text selectable. > >> > > >> > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > >> > if at all possible. > >> > >> Did you try a TextBox with IsReadOnly="true"? > >> > >> HTH, > >> Drew > >> > >> ___________________________________ > >> Drew Marsh > >> Chief Software Architect > >> Mimeo.com, Inc. - http://www.mimeo.com > >> Weblog - http://blog.hackedbrain.com/ > >> > >> > >> > > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Read selectable text in any vista Window | .NET General | |||
| Creative Live Cam Optia AF microphone not selectable with WLM2009 | Live Messenger | |||
| missing the language in the selectable list | Vista General | |||
| selectable language is missing in the list | Vista General | |||
| Dreamscene not selectable anymore | Vista General | |||