S
sundarvenkata
Hi All,
I have a custom control in my WPF project which is roughly defined
like this:
<UserControl>
<StackPanel SizeChanged="OuterPanel_SizeChanged">
</StackPanel>
<StackPanel x:Name="childrenHolderPanel">
</StackPanel>
<UserControl>
At some point of time in the course of the application execution, I
add this custom control (dynamically) into the
"childrenHolderPanel" (i.e., custom control inside the custom control
kinda like a tree). After that, the event "OuterPanel_SizeChanged" in
the parent control no longer works (however the same event works for
the child custom control). Is this a bug or am I missing something?
Thanks,
Sundar
I have a custom control in my WPF project which is roughly defined
like this:
<UserControl>
<StackPanel SizeChanged="OuterPanel_SizeChanged">
</StackPanel>
<StackPanel x:Name="childrenHolderPanel">
</StackPanel>
<UserControl>
At some point of time in the course of the application execution, I
add this custom control (dynamically) into the
"childrenHolderPanel" (i.e., custom control inside the custom control
kinda like a tree). After that, the event "OuterPanel_SizeChanged" in
the parent control no longer works (however the same event works for
the child custom control). Is this a bug or am I missing something?
Thanks,
Sundar