textedit.cs

来自「PDF文件格式解析库源代码」· CS 代码 · 共 53 行

CS
53
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// A user interface element that encloses a widget intended to aid in the manipulation of textual content.
	/// </summary>
	public class textEdit : editcontrol
	{
		public textEdit() : base("textEdit") { }

		public bool allowRichText
		{
			set
			{
				this.SetAttribute("allowRichText", value);
			}
		}

		public bool multiLine
		{
			set
			{
				this.SetAttribute("multiLine", value);
			}
		}

		protected comb _comb;

		public comb comb
		{
			get
			{
				if (_comb == null)
				{
					_comb = new comb();
					this.AddChild(_comb);
				}
				return _comb;
			}
			set
			{
				this.RemoveChild(_comb);
				_comb = value;
				this.AddChild(_comb);
			}
		}

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?