TodoApp.iOS.Controls.CalendarMonthView.CreateNewGrid C# (CSharp) Method

CreateNewGrid() private method

Create new month grid.
private CreateNewGrid ( System.DateTime date ) : MonthGridView
date System.DateTime Needed month.
return MonthGridView
        private MonthGridView CreateNewGrid( DateTime date )
        {
            var grid = new MonthGridView(this, date) {CurrentDate = CurrentDate};
            grid.BuildGrid();
            grid.Frame = new RectangleF(HorizontalPadding, VerticalPadding/2.0f, width - HorizontalPadding, (float) Frame.Height - 16);
            return grid;
        }