I have a wpf window it contin one control which is inside the dock panel, my requirement is that the window should occupy the control size and it will display at the right - bottom corner of the desktop window.
please do the needful
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishnujeet KumarPosted Jan 22, 2013, 11:20 PM
public MainWindow()
{
InitializeComponent();
this.Left = SystemParameters.PrimaryScreenWidth - this.Width;
}