📄 occur.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace AnotherPDFLib.XFA
{
/// <summary>
/// An element that describes the constraints over the number of allowable instances for its enclosing container.
/// </summary>
public class occur : element_proto
{
public occur() : base("occur") { }
public int initial
{
set
{
this.SetAttribute("initial", value);
}
}
public int max
{
set
{
this.SetAttribute("max", value);
}
}
public int min
{
set
{
this.SetAttribute("min", value);
}
}
protected script _script;
public script script
{
get
{
if (_script == null)
{
_script = new script();
this.AddChild(_script);
}
return _script;
}
set
{
this.RemoveChild(_script);
_script = value;
this.AddChild(_script);
}
}
protected extras _extras;
public extras extras
{
get
{
if (_extras == null)
{
_extras = new extras();
this.AddChild(_extras);
}
return _extras;
}
set
{
this.RemoveChild(_extras);
_extras = value;
this.AddChild(_extras);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -