I'm trying to get the calendar to display within a ContentPage using code behind. I'm not using XAML. The display is completely blank. What am I missing?
public class CalendarPage : ContentPage
{
public CalendarPage ()
{
Content = new RadCalendar()
{
HorizontalOptions = LayoutOptions.FillAndExpand,
VerticalOptions = LayoutOptions.FillAndExpand,
DisplayDate = DateTime.Today,
BackgroundColor = Color.Navy,
GridLinesColor = Color.White,
};
}
}
Thanks,
Blair