wpfmdi icon indicating copy to clipboard operation
wpfmdi copied to clipboard

Binding Support for MdiContainer Children

Open yemikudaisi opened this issue 6 years ago • 3 comments

I'm unable to bind to the Children Property of the MdiContainer. Is it a dependency property ?

yemikudaisi avatar Oct 17 '18 11:10 yemikudaisi

In MdiContainer.cs => public ObservableCollection<MdiChild> Children { get; set; } , Children is source. And for example ,DependencyProperty ThemeProperty is a dependency property.

At 2018-10-17 19:38:12, "Yemi Kudaisi" [email protected] wrote:

I'm unable to bind to the Children Property of the MdiContainer. Is it a dependency property ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

HoDownKII avatar Oct 18 '18 08:10 HoDownKII

My problem is that I can't bind to it because it isn't a dependency property. I've tried to implement it but I'm having issues making ObservableCollection<MdiChild> (i.e a generic collection) a dependency property.

Although, now I'm considering adding an intermediary property. I was just wondering if someone else has done it. So I can save myself the stress.

yemikudaisi avatar Oct 18 '18 10:10 yemikudaisi

Understand,good idea.I don't have such an instance.

At 2018-10-18 18:36:03, "Yemi Kudaisi" [email protected] wrote:

My problem is that I can't bind to it because it isn't a dependency property. I've tried to implement it but I'm having issues making ObservableCollection (i.e a generic collection) a dependency property.

Although, now I'm considering adding an intermediary property. I was just wondering if someone else has done it. So I can save myself the stress.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

HoDownKII avatar Oct 19 '18 00:10 HoDownKII