示例#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;
            }
        }