![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | User controls in a ControlTemplate Is it forbidden to use a custom control in a control template or a style ? when i do something like <local:MyControl /> In a ControlTemplate, I get Error 86 Unknown tag 'MyControl' in namespace 'local'. Note that tag names are case sensitive. Line 1624 Position 10. Yet the mapping must be OK because I can do <ControlTemplate x:Key="MyTemplate" TargetType="{x:Type local:MyControl}"> -- Griff (trying to make an industrial UI with XAML/WPF/c#) |
My System Specs![]() |
| | #2 (permalink) |
| | Re: User controls in a ControlTemplate Hello Griff, You might want to take a look at the WPF XAML blog http://spaces.msn.com/wpfxaml/. Hope this helps. ![]() > Is it forbidden to use a custom control in a control template or a > style ? > > when i do something like > > <local:MyControl /> > > In a ControlTemplate, I get > > Error 86 Unknown tag 'MyControl' in namespace 'local'. Note that > tag names are case sensitive. Line 1624 Position 10. > > Yet the mapping must be OK because I can do > > <ControlTemplate x:Key="MyTemplate" > TargetType="{x:Type local:MyControl}"> |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| User account controls | Vista security | |||
| User Account Controls | Vista security | |||