コード例 #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;
            }
        }