My friends and family are under attack in Ukraine.
Donate to protect them directly or help international organizations.

Data Binding expressions

March 8th, 2008

In MXML, you may use expressions as a source of data binding.

Example:

The Label will only be displayed if the person is 18 or older.

Did you try a more complex expression?

Ah ha! You get a compiler error. Why? Because you're inside MXML and the & character is special.

Solution: replace the & with &

Previous: [Bindable] public override Next: Runtime Sharing problems solved for good!