Example #1
0
 private void AdaptForFrameDivide(object content, double divideNum, bool isDivide)
 {
     GlobalHelpers.DivideWindowRange(
         content as Page,
         divideNum: DivideNumber,
         isDivideScreen: IsDivideScreen);
 }
Example #2
0
 protected override void InitPageState()
 {
     base.InitPageState();
     GlobalHelpers.SetChildPageMargin(this, matchNumber: VisibleWidth, isDivideScreen: IsDivideScreen);
     GlobalHelpers.DivideWindowRange(this, DivideNumber, isDivideScreen: IsDivideScreen);
 }
 private void InitPageState()
 {
     GlobalHelpers.SetChildPageMargin(this, matchNumber: VisibleWidth, isDivideScreen: IsDivideScreen);
     GlobalHelpers.DivideWindowRange(this, DivideNumber, isDivideScreen: IsDivideScreen);
     BackImage.Source = new Windows.UI.Xaml.Media.Imaging.BitmapImage(new Uri($@"ms-appx:///Assets/{(VisibleWidth > FormatNumber ? "231" : "213")}{(IsGlobalDark ? "" : "-light")}.jpg"));
 }
Example #4
0
 public BlankPage()
 {
     this.InitializeComponent();
     GlobalHelpers.SetChildPageMargin(this, matchNumber: VisibleWidth, isDivideScreen: IsDivideScreen);
     GlobalHelpers.DivideWindowRange(this, DivideNumber, isDivideScreen: IsDivideScreen);
 }
Example #5
0
 protected override void InitPageState()
 {
     base.InitPageState();
     GlobalHelpers.DivideWindowRange(this, DivideNumber, isDivideScreen: IsDivideScreen);
 }