Binding and RichTextBox

i wonder if i can binding in RichTextBox. i didnot find any suitable property for binding. i can get binary data from database and set to RichTextBox manually but cannot binding.
if anyone know, please share your knowledge. thanks so much.
[243 byte] By [DatDang] at [2007-12-24]
# 1
Hi Dat - I had the same problem, and to the best of my knowledge binding to the Document of the rich text box is not possible because it is not a dependency property.
JosephCooney at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2

Currently (in V1) you cannot bind to the flowdocument. The only place you can bind is at the Run level.

Binding to flowdocument is a possibility in future releases.

HTH

lester-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3

Dear Lester,

I have installed the .Net Framework 3.0 RC1.

But i cannot bind to the flowdoccument.

So, could you please tell me in this release(RC1), can i binding to RichTextBox ?

thanks & regrads

ChenHo

ChenHo at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 4
Unfortunately Binding to the FlowDocument will not be supported for now... This is a possibility for the next release
lester-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 5

I wanted to follow up on this one in case anyone else comes across this thread. I have a class that is derived from RichTextBox that will allow you to databind the Document property through a new dependency property on the derived class... I blogged about it at http://www.visualjason.net/blog/default.aspx

Hope that helps someone.

-jason

JasonMueller at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified