Beispiel #1
0
        public RelativeLayout()
        {
            VerticalOptions  = HorizontalOptions = LayoutOptions.FillAndExpand;
            _children        = new RelativeElementCollection(InternalChildren, this);
            _children.Parent = this;

            _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <RelativeLayout> >(() =>
                                                                                                        new PlatformConfigurationRegistry <RelativeLayout>(this));
        }
Beispiel #2
0
        public RelativeLayout()
        {
#pragma warning disable CS0618 // Type or member is obsolete
            VerticalOptions = HorizontalOptions = LayoutOptions.FillAndExpand;
#pragma warning restore CS0618 // Type or member is obsolete
            _children        = new RelativeElementCollection(InternalChildren, this);
            _children.Parent = this;

            _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <RelativeLayout> >(() =>
                                                                                                        new PlatformConfigurationRegistry <RelativeLayout>(this));
        }
Beispiel #3
0
 public RelativeLayout()
 {
     VerticalOptions  = HorizontalOptions = LayoutOptions.FillAndExpand;
     _children        = new RelativeElementCollection(InternalChildren, this);
     _children.Parent = this;
 }