dutts / wpfmdi

A library to add the traditional Windows Forms Multiple Document Interface (MDI) features to WPF. The aim is to resemble the original as much as possible.
Apache License 2.0
66 stars 32 forks source link

Binding Support for MdiContainer Children #5

Open yemikudaisi opened 6 years ago

yemikudaisi commented 6 years ago

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

HoDownKII commented 6 years ago

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

At 2018-10-17 19:38:12, "Yemi Kudaisi" notifications@github.com 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.

yemikudaisi commented 6 years ago

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.

HoDownKII commented 6 years ago

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

At 2018-10-18 18:36:03, "Yemi Kudaisi" notifications@github.com 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.