View Single Post
Old 01-11-2006   #5 (permalink)
RyanLeeSchneider


 
 

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 SpecsSystem Spec