using System;
using System.Collections.Generic;
using Syncfusion.XForms.Core;
using Xamarin.Forms;
namespace PlatformSample
{
public partial class MyView : ContentView
{
OnPlatformOrientationThickness onPlatformOrientationThickness;
public MyView()
{
InitializeComponent();
onPlatformOrientationThickness = new OnPlatformOrientationThickness();
onPlatformOrientationThickness.PhonePortrait = new Thickness(10, 20);
this.Margin = onPlatformOrientationThickness.PhonePortrait;
}
}
} |
SfBorderRenderer.Init(); |