3 ms·
I'm not super familiar with x:Bind, but based on what you're describing, it sounds like something that could be done in WPF (or, presumably, something that copi
by int_19h 10y ago
I'm not super familiar with x:Bind, but based on what you're describing, it sounds like something that could be done in WPF (or, presumably, something that copies its design), as a markup extension. Fpr example (note wpf:Lambda):
https://github.com/Microsoft/RTVS/blob/828b4e3919cbed507a4d0f51b621b00a7fc8c25b/src/Package/Impl/DataInspect/VariableView.xaml#L91 https://github.com/Microsoft/RTVS/blob/828b4e3919cbed507a4d0...
Obviously this is still more verbose, because it is a converter on a binding (although it could be shortened further by providing a custom Binding-derived class, I think).