Hi,
I have a very interesting issue and i have been breaking my head on it since a long time.
I am new to WPF and related things like MVVM and all.
I have a window in which i place a user control which hosts a TabControl inside it.
This tab control has Custom Radio Button and Combo boxes which expose few Dependency Properties, Now while these custom controls are loaded author checks for the values and does 'something particular' which is intended behavior. However in my case while the control is being loaded the DPs have null values. I see the DP property changed events being fired post Load of that control only in my case. It works okay on other windows.
This is kind of strange to me as I would expect that the DPs would be bound to related values before the control gets loaded, but i dont see that behaviour here.
I have read on MSDN that the DPs should be set properly before load event, and in a sample application i see it behaving as per MSDN.
Binding is happening properly as there are no errors in out put window + I get the DP - Property changed events as well, but this happens only after load (I dont know why??)
Any help would really be appreaciated.