ClassLibraryWeiBao/CKEditor.NET/CKEditorControl.cs

(开头部分) 57KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*
 * Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Text.RegularExpressions;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Collections.Specialized;

namespace CKEditor.NET
{
	[DefaultProperty("Text")]
	[ToolboxData("<{0}:CKEditorControl runat=server></{0}:CKEditorControl>")]
	[ParseChildren(false)]
	[Designer("CKEditor.NET.CKEditorControlDesigner")]
	public class CKEditorControl : TextBox, IPostBackDataHandler
	{
		#region Changed TextBox Property

		[Bindable(true)]
		[Category("CKEditor Basic Settings")]
		[DefaultValue("")]
		public override string Text
		{
			get
			{
				return base.Text;
			}
			set
			{
				base.Text = value;
			}
		}

		public override TextBoxMode TextMode { get { return base.TextMode; } }

		[Description("If true, makes the editor start in read-only state. Otherwise, it will check if the linked <textarea> element has the disabled attribute.")]
		[DefaultValue(false)]
		public override bool ReadOnly
		{
			get
			{
				return config.readOnly;
			}
			set
			{
				config.readOnly = base.ReadOnly = value;
			}
		}

		#endregion

后面还有 1120 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。