KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I bind 2 properties to a single TextBlock.Text (eg. first name and last name or current value and max value)? something like: // IValueConverter public object Convert( .... ) { return string.Format("{0} (max: {1})", currentValue, maxValue); } The problem is I want TextBlock.Text to be updated when currentValue or maxValue has changed. So how can I listen to changes from 2 or more properties using data binding? Is there another way than usering IValueConverter ?
Tags (comma-separated)
Save Edits
Cancel