We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Json Binding was lovely
Swiss Binding is lovely
.... but Tibet Binding is even lovelier.
To start with I'm just capturing some use cases.
I want to be able to bind to:
local:mvxBind="Text GenderName(Gender)"
This should translate to Path=Gender,Converter=GenderName
Path=Gender,Converter=GenderName
local:mvxBind="Text Format(Total, '{0:0.00}')"
This should translate to Path=Total,Converter=Format,ConverterParameter='{0:0.00}'
Path=Total,Converter=Format,ConverterParameter='{0:0.00}'
local:mvxBind="Enabled X<12"
This will need to translate to something that doesn't exist today!
We would need to support <, >, ==
This could be combined with valueconverters like:
local:mvxBind="Enabled Sqrt(X)<25"
local:mvxBind="Text FirstName + ' ' + LastName"
or:
local:mvxBind="Enabled X < Y"
local:mvxBind="Enabled (X < Y) && (X > Z)"
local:mvxBind="Text GenderGreeting(Gender) + ' ' + FirstName + ' ' + LastName"
local:mvxBind="Text Length(FirstName + ' ' + LastName)"
The text was updated successfully, but these errors were encountered:
documented in video and N+1 sample now... as well as in wiki entry... so closing
Sorry, something went wrong.
Merge pull request MvvmCross#298 from kjeremy/registerattrib
a1db2c4
Add RegisterAttribute for cleaner stack traces
No branches or pull requests
Json Binding was lovely
Swiss Binding is lovely
.... but Tibet Binding is even lovelier.
To start with I'm just capturing some use cases.
1. Method like converters
I want to be able to bind to:
This should translate to
Path=Gender,Converter=GenderName
I want to be able to bind to:
This should translate to
Path=Total,Converter=Format,ConverterParameter='{0:0.00}'
2. Simple Expressions
I want to be able to bind to:
This will need to translate to something that doesn't exist today!
We would need to support <, >, ==
This could be combined with valueconverters like:
3. Simple Multibinding
I want to be able to bind to:
or:
or:
or:
or:
The text was updated successfully, but these errors were encountered: