Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Data Binding | Interactive GUI
Advanced C# with .NET

bookData 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;
question mark

Which method do we use for binding one property to another?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 7

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Awesome!

Completion rate improved to 3.7

bookData Binding

Pyyhkäise näyttääksesi valikon

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;
question mark

Which method do we use for binding one property to another?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 7
some-alt