![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 Specs![]() |
![]() |
| 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 |