Answers for "binding c#"

C#
0

binding c#

// Make a new source.
MyData myDataObject = new MyData(DateTime.Now);
Binding myBinding = new Binding("MyDataProperty");
myBinding.Source = myDataObject;
// Bind the new data source to the myText TextBlock control's Text dependency property.
myText.SetBinding(TextBlock.TextProperty, myBinding);
Posted by: Guest on June-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language