Пример #1
0
        public DistributedStackLayoutRenderer(
            global::Android.Content.Context context,
            XForms.Layouts.DistributedStackLayout layout)
            : base(context, layout)
        {
            this._layout = new NativeDistributedStackLayout(context);

            // NOTE: Currently only horizontal orientation is supported

            this.SetNativeElement(this._layout);
        }
Пример #2
0
        public DistributedStackLayoutRenderer(
            XForms.Layouts.DistributedStackLayout layout)
            : base(layout)
        {
            this._panel = new NativeDistributedStackPanel()
            {
                //Background = new global::Windows.UI.Xaml.Media.SolidColorBrush(global::Windows.UI.Colors.Red),
            };

            this.SetNativeElement(this._panel);
        }
Пример #3
0
 public DistributedStackLayoutViewCollection(
     DistributedStackLayout layout)
     : base(layout)
 {
 }