Esempio n. 1
0
        private static void OnWeekHeaderDimChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                thisctrl.weekRowDef.Height = (double)newValue;
            }
        }
Esempio n. 2
0
        private static void OnGridDimChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.dayToday.HeightRequest = (double)newValue;
            }
        }
Esempio n. 3
0
        private static void OnNotInCurrentMonthOpacityChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.NotInCurrentMonthOpacity = (double)newValue;
            }
        }
Esempio n. 4
0
        private static void OnSundayBackgroundColorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.SundayBackgroundColor = (Color)newValue;
            }
        }
Esempio n. 5
0
        private static void OnWeekHeaderTextColorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.header.TextColor = (Color)newValue;
            }
        }
Esempio n. 6
0
        private static void OnSaturdayBackgroundOpacityChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.SaturdayBackgroundOpacity = (double)newValue;
            }
        }
Esempio n. 7
0
        private static void OnYearSelectorBackgroundChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                thisctrl.yearIterator.BackgroundColor = (Color)newValue;
            }
        }
Esempio n. 8
0
        private static void OnNotCurrentMonthTextColorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.NotCurrentMonthTextColor = (Color)newValue;
            }
        }
Esempio n. 9
0
        private static void OnMonthIteratorNameColorChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                thisctrl.monthIterator.NameColor = (Color)newValue;
            }
        }
Esempio n. 10
0
        private static void OnCalendarDayFontSizeChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.CalendarDayFontSize = (string)newValue;
            }
        }
Esempio n. 11
0
        private static void OnDayOfWeekFontAttributeChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                //thisctrl.DayOfWeekFontAttribute = (string)newValue;
            }
        }
Esempio n. 12
0
        private static void OnWeekSelectorFontSizeChanged(BindableObject bindable, object oldValue, object newValue)
        {
            CalendarMonthView thisctrl = (CalendarMonthView)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                thisctrl.weekIterator.FontSize = (string)newValue;
            }
        }
Esempio n. 13
0
        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;
            }
        }