예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }