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

Conteúdo do Curso

Advanced C# with .NET

Advanced C# with .NET

1. Introduction to Desktop Development with .NET
2. Interactive GUI
3. Threading
4. Generics & Reflection

book
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;
Which method do we use for binding one property to another?

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

Selecione a resposta correta

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 7
We're sorry to hear that something went wrong. What happened?
some-alt