![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Presenting rich content in a control template I have a ControlTemplate for buttons. In this I can completely specify the appearance of a button. I can use some of the button's original parameters using (for example) {TemplateBinding property=xxxx} I would like to display the original content of the button too (whatever it might be). I tried <ContentPresenter Content="{TemplateBinding Property=ContentControl.Content}"/> but that seems not to work. How should I be doing this ? Thanks in advance -- Griff (trying to make an industrial UI with XAML/WPF/c#) |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Presenting rich content in a control template Sorry for delay in responding. In fact this subsequently did work, I'm not sure what I changed. Thanks. "viliescu" wrote: > The code you have posted should work. Can you post the entire button template? |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| TFS 2008 Process Template: Default value tag for work item fieldsdoes not allow more than 255 characters to be entered into an HTML control | .NET General | |||
| Printint the content of a webbrowser control | .NET General | |||