1

Hi all,

I have recently designed a WPF application with some user controls and I want to code behind a user control to redirect to another window or invoke another user control however I am unable to do the same.

The problems I am facing presently are as follows:-

1.When I use the "this" keyword as "this.visibility.collapsed" it removes the user controls from the window but doesn't closes the window itself.
I just want to know **how to find the parent window of this at runtime so that I may write something as this.****.visibility.collapsed

2.How to invoke another user control from another user control's button click in the same window.

Thanks in advance.

Edited by KM499

2
Contributors
4
Replies
8
Views
5 Years
Discussion Span
Last Post by Sahil89
1

Please help as its very important task for me to complete within time limits.

Thanks very much

1

Hi,
Post your question in microsoft blend or WPF forum, you will get anwers there. good luck

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.