assist.cs

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

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

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An element that supplies additional information about a container for users of interactive applications.
	/// </summary>
	public class assist : element_proto
	{
		public assist() : base("assist") { }

		public string role
		{
			set
			{
				this.SetAttribute("role", value);
			}
		}

		protected speak _speak;

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

		protected toolTip _toolTip;

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

	}
}

⌨️ 快捷键说明

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