HtmlFrameElementBase
Represents the base class for frame elements.
using AngleSharp.Html;
namespace AngleSharp.Dom.Html
{
internal abstract class HtmlFrameElementBase : HtmlFrameOwnerElement
{
public string Name {
get {
return GetAttribute(AttributeNames.Name);
}
set {
SetAttribute(AttributeNames.Name, value);
}
}
public string Source {
get {
return GetAttribute(AttributeNames.Src);
}
set {
SetAttribute(AttributeNames.Src, value);
}
}
public string Scrolling {
get {
return GetAttribute(AttributeNames.Scrolling);
}
set {
SetAttribute(AttributeNames.Scrolling, value);
}
}
public IDocument ContentDocument { get; set; }
public string LongDesc {
get {
return GetAttribute(AttributeNames.LongDesc);
}
set {
SetAttribute(AttributeNames.LongDesc, value);
}
}
public string FrameBorder {
get {
return GetAttribute(AttributeNames.FrameBorder);
}
set {
SetAttribute(AttributeNames.FrameBorder, value);
}
}
public HtmlFrameElementBase(Document owner, string name, NodeFlags flags = NodeFlags.None)
: base(owner, name, flags | NodeFlags.Special)
{
}
}
}