![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | XAML extensions Hi, I'm working on writing a XAML MarkupExtension derivative. All is going fine. It's quite easy to make a simple thing, but problems arise when trying to retrieve an object from a databinding using a stacked {Binding} markup syntax. This works: <Button Text="{src:MyMarkupExtension Value={x:Null}}"/> This doesn't: <Button Text="{src:MyMarkupExtension Value={StaticResource TheData}}"/> or <Button Text="{src:MyMarkupExtension Value={Binding Source={StaticResource TheData} Path=Value}}}"/> With the non-working usages, i get the following error: error MC3045: Unknown property 'Source' for type 'MS.Internal.Markup.MarkupExtensionParser+UnknownMarkupExtension' encountered while parsing a Markup Extension. Line 14 Position 85. Does anybody have an idea on how to solve this? Regards, Matthijs ter Woord |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to include XAML files into another XAML file? | star-italia | .NET General | 6 | 06-12-2008 04:56 AM |
| launching different XAML aplication from another XAML app | SenthilVel | Avalon | 0 | 03-31-2007 09:40 PM |
| How to deploy an XAML-based App with its XAML-UI-File? | Solveigh | Avalon | 11 | 11-08-2006 07:50 AM |
| File.xaml and File.xaml.cs are atomically checked out/in from sourcesafe | Pascal Bourque | Avalon | 1 | 04-26-2006 06:47 PM |
| Using WPF without XAML, the WinFX SDK or VS Extensions | Adahn | Avalon | 1 | 02-14-2006 05:19 AM |