Пример #1
0
        /// <summary>
        /// Draw the specified rect.
        /// </summary>
        /// <param name="rect">Rect.</param>
        public override void Draw(RectangleF rect)
        {
            mTitleLabel.Frame     = RectangleF.Inflate(this.Bounds, -10, 0);
            mTitleLabel.TextColor = (IsToday == true) ? DSCalendarTheme.CurrentTheme.TodayCellTextColor : DSCalendarTheme.CurrentTheme.CellTextColor;
            mTitleLabel.Text      = String.Format("{0} events", RemainingItems.ToString());

            mTouchYView.Frame = RectangleF.Inflate(this.Bounds, -10, 0);
        }
Пример #2
0
        /// <summary>
        /// Draw the specified rect.
        /// </summary>
        /// <param name="rect">Rect.</param>
        public override void Draw(RectangleF rect)
        {
            mTitleLabel.Frame = RectangleF.Inflate(this.Bounds, -10, 0);

            mTitleLabel.Text = String.Format("{0} more...", RemainingItems.ToString());
        }