سؤال

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?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top