Is it possible to Provide the StringFormat value in a binding in Xaml from a property on the bindingContext?

Jeff Pfahl 91 Reputation points
2022-06-20T20:40:15.597+00:00

When specifying a binding in Xaml I only seem to be able to provide a literal value for the StringFormat. I would like to define the format string on my binding context and have the binding use that.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
{count} votes