c# - XamlReader and Custom ContentPropertyAttribute -
i'm trying make custom graphic layout engine. it's xaml-based , thought reusing system.xaml types deal xaml.
as objects defined inside portable class libraries, cannot decorate them standard contentpropertyattribute , problem, because have specify each content explicitly this:
<window> <window.content> <textblock /> </window.content> </window>
as can appreciate, set textblock window.content withing tags.
i work does:
<window> <textblock /> </window>
can configure xamlreader/xamlobjectwriter use property default when nothing specified?
thanks!
Comments
Post a Comment