WPF - binding to a property of a custom object that is inside another object

前端 未结 2 1524
北海茫月
北海茫月 2021-02-08 18:55

I\'m working in WPF 4 / C#. I have two custom classes:

public class c1 {
    public string prop1 { get; set; }

    public c1() {
        prop1 = \"world\";
             


        
2条回答
提交回复
热议问题