Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

RichTextBox help

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 10-28-2006   #1 (permalink)
Timothy
Guest


 

RichTextBox help

Hi everyone,
I have a question... I want to add a Rectangle/Ellipse/Button (different
control classes, other than text) to a RichTextBox. In XAML, it is done like
this:
<RichTextBox>
<FlowDocument>
<Paragraph>
Some Text!!!
<Button>This is a button</Button>
</Paragraph>
</FlowDocument>
</RichTextBox>

But how do you insert it using code? ie. dynamically.

I'm pretty sure it has something to do with the RichTextBox.Document class,
but I cannot find any information on it.

Can anyone help?

Thanks in advance,
Tim.


My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy text from RichTextBox into .txt problem Kryten PowerShell 1 08-20-2008 02:21 AM
WPF RichTextBox control Anthony Meehan .NET General 2 07-29-2008 04:07 AM
richtextbox question arnoud Avalon 0 01-20-2007 03:34 AM
Element in a RichTextBox =?Utf-8?B?RHVxdWUgVmllaXJh?= Avalon 5 07-17-2006 08:20 PM
RichTextBox / XPSDocuments MichaelG Avalon 1 01-10-2006 03:52 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008