![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | SelectedText with Binding Syntax I'm curious why this works like a charm: <TextBlock Text="{Binding ElementName=mProjectTree, Path=SelectedValue.Name}" FontFamily="Arial" FontSize="16" FontWeight="Bold"/> But this doesn't: <TextBox SelectedText="{Binding ElementName=mProjectTree, Path=SelectedValue.Name}" FontFamily="Arial" FontSize="16" FontWeight="Bold"> </TextBox> |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: SelectedText with Binding Syntax Never mind. Intellisense in the xaml steered me the wrong way, telling me that "Text" was not a property on TextBox, but it is, and the binding logic below works fine when setting that property. "CSkinner" <cwskinner_no_sppaaam@comcast.net> wrote in message news:uUtyjrgAGHA.504@TK2MSFTNGP12.phx.gbl... > I'm curious why this works like a charm: > > <TextBlock Text="{Binding ElementName=mProjectTree, > Path=SelectedValue.Name}" > > FontFamily="Arial" FontSize="16" FontWeight="Bold"/> > > > > But this doesn't: > > > > <TextBox SelectedText="{Binding ElementName=mProjectTree, > Path=SelectedValue.Name}" > > FontFamily="Arial" FontSize="16" FontWeight="Bold"> > > </TextBox> > > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "invalid STORE command syntax invalid message set syntax" | Catullus Nacakus | Vista mail | 6 | 01-26-2008 05:46 PM |
| Binding inside binding question | Yoavo | Avalon | 0 | 12-03-2007 08:24 AM |
| Binding Question (Binding in General) | Jason | Avalon | 2 | 05-09-2007 04:41 AM |
| Binding(string path) - what is the syntax for the path? | Jason Dolinger | Avalon | 2 | 01-10-2006 03:52 PM |
| Re: Data binding doesn't work for Property Tag syntax ? | Mikhail | Avalon | 0 | 01-10-2006 03:51 PM |