المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : getting the parent control from a child control at runtime.



C# Programming
06-20-2009, 10:00 AM
hi there,
I have a simple WPF window with a button in it.
now during runtime, i pass this button control to another function, and there, i want to know the parent of this control. ie the window, with the full namespace.
any way for this thru C#

The name is Sandeep