📄 calendarday.cs
字号:
using System;
namespace System.Web.UI.WebControls
{
/// <summary>
/// Summary description for CalendarDay.
/// </summary>
public class CalendarDay
{
private System.DateTime date;
private bool isSelectable;
private bool isToday;
private bool isWeekend;
private bool isOtherMonth;
private bool isSelected;
private string dayNumberText;
public CalendarDay(DateTime date, bool isWeekend, bool isToday, bool isSelected, bool isOtherMonth, string dayNumberText) : base()
{
this.date = date;
this.isWeekend = isWeekend;
this.isToday = isToday;
this.isOtherMonth = isOtherMonth;
this.isSelected = isSelected;
this.dayNumberText = dayNumberText;
}
public DateTime Date
{
get
{
return this.date;
}
}
public string DayNumberText
{
get
{
return this.dayNumberText;
}
}
public bool IsOtherMonth
{
get
{
return this.isOtherMonth;
}
}
public bool IsSelectable
{
get
{
return this.isSelectable;
}
set
{
this.isSelectable = value;
}
}
public bool IsSelected
{
get
{
return this.isSelected;
}
}
public bool IsToday
{
get
{
return this.isToday;
}
}
public bool IsWeekend
{
get
{
return this.isWeekend;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -