开发者

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.

I checked for attributes on the 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...).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜