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

前端 未结 2 1040
暖寄归人
暖寄归人 2021-02-08 18:23

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条回答
提交回复
热议问题