I just want to set windowstartuplocation to top right corner of desktop. I saw this thread with same question:
Changing the start up location of a WPF window
I want my application to start in top right corner,where right refers to MY RIGHT SIDE(not as if my desktop is a person looking at me and ITS RIGHT SIDE).So,
1.) Setting left and top to 0 only is not a solution(brings app to left side not right)
2.) I tried using SystemParameters.PrimaryScreenWidth, but I can't perform operation to subtract the width of my app from this value at binding time.
Is there a way I can do it without going into much complexity?