In a Silverlight 4 (OOB) application, you can move the main window in code

In the Silverlight 4 application from the browser (oob), is there any way to programmatically move the main window after the start event application .

Reason / usage example: The user selects an option in the silverlight desktop gadget application, the application window grows to accommodate additional information. If the application started very close to the right of the screen, the details are shaded / drop out from the edge of the screen and the user needs to drag the window to the left. When the window returns to a lower state, it is now located to the left, so the user needs to drag the window again. It would be convenient for the application to automatically move back and forth to place parts.

Thank.

+3
source share
2 answers

Avida - yes, you can move MainWindow using the Top / Left properties while WindowsStartupPosition is manual

+1

, ... , .

-, , .

Silverlight Javascript ( Silverlight).

Silverlight 3, , ( , ).

0

Source: https://habr.com/ru/post/1760639/


All Articles