Blog.Mobile.Views.Posts.PostsListView.PostsListView C# (CSharp) Method

PostsListView() public method

public PostsListView ( ) : Blog.Mobile.Components
return Blog.Mobile.Components
        public PostsListView()
        {
            var stack = new BaseStackLayout
            {
                Orientation = StackOrientation.Vertical,
                Spacing = 10
            };

            var about = new Label
            {
                FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
                Text = "Posts",
                LineBreakMode = LineBreakMode.WordWrap
            };

            stack.Children.Add(about);

            Content = stack;
        }
    }
PostsListView