Silverlight 5: Set ConstructorArgument on a IMarkupExtension class
I would like to have a MarkupExtension that can be initiated with just one value, much like Binding
:
<TextBox Text="{Binding MyPath}"/>
instead of <TextBox Text="{Binding Path=MyPath}">
In WPF this is done with the ConstructorArgumentAttribute
, but this doesn't exist in Silverlight.
Path
property of Binding
but have'nt 开发者_开发百科found any attributes applied to it.
Any ideas?
For now I realize that it's not yet implemented.
So if you think this feature is compelling, please go ahead and vote for this feature here.
Hope this answer to be updated as soon as I have any piece of news (hope this to happen asap...).
精彩评论