Data Binding
Important Points:
- We can use the SetBinding method to bind the property of one object to a property of another;
- The syntax of SetBinding method is
targetElement.SetBinding(TargetElementType.TargetProperty, new Binding(“path to property”, source: sourceElement);
; - The
stringFormat
named parameter can be used to pass a format for the string. It only works if the target property is a Textual property;
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 7
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 3.7
Data Binding
Свайпніть щоб показати меню
Important Points:
- We can use the SetBinding method to bind the property of one object to a property of another;
- The syntax of SetBinding method is
targetElement.SetBinding(TargetElementType.TargetProperty, new Binding(“path to property”, source: sourceElement);
; - The
stringFormat
named parameter can be used to pass a format for the string. It only works if the target property is a Textual property;
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 7