Hi,
i have .xaml page named LoginView.xaml
But its not a exact User Control, this xaml page inherits to MvxWpfView & also MvxwpfView inherits inherits to User Control finally. & this is the start up page for me.
As Top of xaml Page like this & continuos on:
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" .....
My question is How can I maximize the MvxWpfView window / User control on the startup, i am not sure that much this is User Control or what.
Need Help,
Regards,
Praveen M
Madas Praveen21 reputationPosted Feb 15, 2016, 6:19 PM EST
Ayappan AlagesanRank #4,305 · 352 reputationPosted Feb 10, 2017, 3:02 AM EST
Amit Kumar SinghRank #562 · 4.3K reputationPosted Feb 15, 2016, 3:14 AM EST
void button_Click(object sender, RoutedEventArgs e) { Window window = new Window(); window.WindowStartupLocation = WindowStartupLocation.CenterScreen; window.SourceInitialized += (s, a) => window.WindowState = WindowState.Maximized; window.Show(); }Madas Praveen21 reputationPosted Feb 21, 2016, 10:43 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts