Windowの起動時の位置とサイズを指定する
namespace SizeTest
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new AppShell();
}
protected override Window CreateWindow(IActivationState activationState)
{
var window = base.CreateWindow(activationState);
window.Title = "SizeTest";
// Size
window.Width = 1400;
window.Height = 700;
// Position
window.X = 50;
window.Y = 50;
return window;
}
}