2017-01-22 10 views

答えて

2

ContentPageから継承するカスタムBasePageを作成します。そのカスタムクラスのタイトルを設定します。次に、他のすべてのページをカスタムベースページから継承させます。

public class MyBasePage : ContentPage { 

    public MyBasePage() : base() { 

    this.Title = "My Title"; 
    } 
} 
関連する問題