Source/Editors/DateTimeAdv/DateAppearanceDescription.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
#if FRAMEWORK20
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Drawing;
using DevComponents.DotNetBar;
namespace DevComponents.Editors.DateTimeAdv
{
/// <summary>
/// Defines the visual marking applied to dates through month calendar control.
/// </summary>
[System.ComponentModel.ToolboxItem(false), System.ComponentModel.DesignTimeVisible(false), TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class DateAppearanceDescription
{
#region Private Variables
private BaseItem _Parent = null;
#endregion
#region Events
#endregion
#region Constructor
/// <summary>
/// Initializes a new instance of the DateAppearanceDescription class.
/// </summary>
public DateAppearanceDescription()
{
}
/// <summary>
/// Initializes a new instance of the DateAppearanceDescription class.
/// </summary>
/// <param name="parent"></param>
public DateAppearanceDescription(BaseItem parent)
{
_Parent = parent;
}
#endregion
#region Internal Implementation
private void Refresh()
{
if (_Parent != null)
_Parent.Refresh();
}
private bool _IsBold = false;
/// <summary>
/// Gets or sets whether text is drawn using bold font.
/// </summary>
[DefaultValue(false), Description("Indicates whether text is drawn using bold font.")]
public bool IsBold
{
get { return _IsBold; }
set
{
if (_IsBold != value)
{
后面还有 178 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。