Hi,
I'm trying to identify the best approach / best control that I could bind its "value" to a property that may change type during runtime.
For instance it could look like: Value = [ ... ], where [ ... ] would be the value of a boolean, string or decimal.
Simple code could be:
<StackPanel Orientation="Horizontal">
<TextBlock Text="Value ="/>
<!--< Control something ??? Value={Binding ActiveItem, Mode=TwoWay} />-->
</StackPanel>
I guess some type of generic control where I can set a Template Selector. But in addition I would be great if I could set an EditTemplateSelector as well, so I can use a different control for editing
GridViewCell has this kind of behavior but I would need it out of a RadGridView
Thank you for your help and ideas.