Silverlight: Page vs. UserControl


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
Welcome.

There is a need to develop Silverlight applications. On the concept closest to the good old MDI. Relatively speaking, there are main menu, there are various Windows, and need the ability to simultaneously work with multiple Windows.

In this regard, the question arose, what to use in the development of the individual "Windows"?
Page (Page) can be displayed within a single frame, but then lost the possibility of simultaneous operation.
"Window", decorated as controls are placed on the tab control, allow such simultaneous operation. But then what is their fundamental difference from the page?

PS. Development experience in SL is zero, sit only the second day I read the Internet.
by | 7 views

2 Answers

0 like 0 dislike
Sorry, I don't really know the technical side of development Silverlight applications, but I have some experience testing Silverlight and Flex applications.
The "window" as tab-control — rather elegant look, the main difference, as I understand it, is that it is possible to refer to themselves tabs.
There is another option — is a Windows based popups. Then do some common part, like the header, statusbar, and etc., plus panel to call these Windows. And the main work space — just a roughly box, where Windows opens the necessary modules. Respectively. Windows you can drag, resize, etc. But be prepared to face putting a lot of restrictions as to the position of the Windows and their size.
by
0 like 0 dislike
Page designed for the navigation inside the ContentFrame. Actually, the Page is inherited from UserControl, with the addition of properties and methods for navigation.
\r
As you need simultaneous work and don't need navigation — use the UserControl. Is that the Title property can be used for the window title, but because of one string svoystva to use the "wrong" control I wouldn't.
\r
In any case, I think that it is better to make some base class for your "Windows" which originally can be inherited from UserControl, and then, if suddenly, to be replaced on the Page.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
27,969 users