C
C#2y ago
Down

❔ xamarin xaml binding

Is there a way to bind value of 2 varriables at once to one Label? <Label Text="{Binding CheckIn, CheckOut, StringFormat='{0:MMM dd, yyyy} - {1:MMM dd, yyyy}'}"></Label> Tried something like this i was hoping that i can make it format the label this way "{CheckIn:MMM dd, yyyy} - {CheckOut:MMM dd, yyyy}"
4 Replies
realivanjxツ
realivanjxツ2y ago
just create another variable that combines those 2
Down
DownOP2y ago
How do i make this?
canton7
canton72y ago
Xamarin.Forms Multi-Bindings - Xamarin
This article explains how to attach a collection of Binding objects to a single binding target property using the MultiBinding class.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server