I got a UserControl that I display within a Window with the following code :
loadingWindow = new System.Windows.Window
{
Title = "Loading",
Content = new Loading(),
};
loadingWindow.ShowDialog();
Where Loading class is a UserControl. I can’t find how resize the Window (it appears very huge on the screen).
Change the size of the UserControl is not working.
Any idea ? Thank’s,
Use
loadingWindow.WidthandloadingWindow.Heightor
.size