private static void OnWeekHeaderDimChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { thisctrl.weekRowDef.Height = (double)newValue; } }
private static void OnGridDimChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.dayToday.HeightRequest = (double)newValue; } }
private static void OnNotInCurrentMonthOpacityChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.NotInCurrentMonthOpacity = (double)newValue; } }
private static void OnSundayBackgroundColorChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.SundayBackgroundColor = (Color)newValue; } }
private static void OnWeekHeaderTextColorChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.header.TextColor = (Color)newValue; } }
private static void OnSaturdayBackgroundOpacityChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.SaturdayBackgroundOpacity = (double)newValue; } }
private static void OnYearSelectorBackgroundChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { thisctrl.yearIterator.BackgroundColor = (Color)newValue; } }
private static void OnNotCurrentMonthTextColorChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.NotCurrentMonthTextColor = (Color)newValue; } }
private static void OnMonthIteratorNameColorChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { thisctrl.monthIterator.NameColor = (Color)newValue; } }
private static void OnCalendarDayFontSizeChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.CalendarDayFontSize = (string)newValue; } }
private static void OnDayOfWeekFontAttributeChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { //thisctrl.DayOfWeekFontAttribute = (string)newValue; } }
private static void OnWeekSelectorFontSizeChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { thisctrl.weekIterator.FontSize = (string)newValue; } }
private static void OnIteratorIconRightChanged(BindableObject bindable, object oldValue, object newValue) { CalendarMonthView thisctrl = (CalendarMonthView)bindable; if (thisctrl != null && oldValue != newValue) { thisctrl.monthIterator.IteratorIconRight = (string)newValue; thisctrl.weekIterator.IteratorIconRight = (string)newValue; thisctrl.yearIterator.IteratorIconRight = (string)newValue; } }