last day (14 days later) » 

10:44
0
A: How to position silverlight OOB top and left position during runtime?

Jignesh.RajTry This Way: 1 . Click On Sliverlight Project 2 . Select Properties option 3 . Select First tab option Like Silverlight 4 . Click On Out-Of-Browser setting Option 5 . Set the window size, window title or window position etc......

DEN
DEN
it only able to set and fix the side when the application start up. However, I would like to adjust the window POSITION during runtime
you try this way ?
in outofBrowser option you should check option for set position
DEN
DEN
"set window location manually"?
yes it's effect on runtime
DEN
DEN
I believe when the application is started up, it will be positioned at top and left 10.
so after the application is started up,and due to some process, I have to change the top and left position to 60 and 100 respectively, what should I do?
10:44
I think that is not possible dude!!
DEN
DEN
that was my question!! sad to hear it is not possible
Dont worry nothing is impossible Give me some time for rnd
DEN
DEN
looking forward to hear the answer from you
are you Follow MVVM or Prism ?
DEN
DEN
nope, just normal
10:44
hi
i have try to set property of outofbrowser in
DEN
DEN
yes,how was it?
but that Top and Left property is read-only
DEN
DEN
yea. thats the problem that i am having
I think no other way to set runtime this properties
DEN
DEN
should have a way to do it, if u are using Application.Current.MainWindow.DragMove();
the application can be dragged and move around.
private void UserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{

Application.Current.MainWindow.DragMove();
}
10:49
yes.....
DEN
DEN
but i am not dragging
ya but that is not proper way
to drag
DEN
DEN
yea. any idea what to do?
i believe it can be done somewhere
I really want to help you but I need some time
;)
DEN
DEN
sure. thanks for helping
10:51
k
DEN
DEN
i will be offline for awhile. Will be right back later :)
 
2 hours later…
DEN
DEN
13:01
any update?

last day (14 days later) »