17 using erminas.SmartAPI.CMS.Converter;
19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
23 string FrameName {
get;
set; }
25 bool IsNotResizing {
get;
set; }
26 bool IsSyntaxConformingToXHtml {
get;
set; }
27 string MarginHeight {
get;
set; }
28 string MarginWidth {
get;
set; }
30 string Src {
get;
set; }
31 string Supplement {
get;
set; }
34 internal class Frame : AbstractWorkflowAssignments, IFrame
36 internal Frame(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
38 PreassignedContentClasses =
new PreassignedContentClassesAndPageDefinitions(
this);
46 [RedDot(
"eltframename")]
47 public string FrameName
49 get {
return GetAttributeValue<string>(); }
50 set { SetAttributeValue(value); }
53 [RedDot(
"eltframeborder", ConverterType = typeof (StringEnumConverter<Frameborder>))]
56 get {
return GetAttributeValue<Frameborder>(); }
57 set { SetAttributeValue(value); }
60 [RedDot(
"eltnoresize")]
61 public bool IsNotResizing
63 get {
return GetAttributeValue<bool>(); }
64 set { SetAttributeValue(value); }
67 [RedDot(
"eltxhtmlcompliant")]
68 public bool IsSyntaxConformingToXHtml
70 get {
return GetAttributeValue<bool>(); }
71 set { SetAttributeValue(value); }
74 [RedDot(
"eltmarginheight")]
75 public string MarginHeight
77 get {
return GetAttributeValue<string>(); }
78 set { SetAttributeValue(value); }
81 [RedDot(
"eltmarginwidth")]
82 public string MarginWidth
84 get {
return GetAttributeValue<string>(); }
85 set { SetAttributeValue(value); }
88 public PreassignedContentClassesAndPageDefinitions PreassignedContentClasses {
get;
private set; }
90 [RedDot(
"eltscrolling", ConverterType = typeof (StringEnumConverter<Scrolling>))]
93 get {
return GetAttributeValue<Scrolling>(); }
94 set { SetAttributeValue(value); }
100 get {
return GetAttributeValue<string>(); }
101 set { SetAttributeValue(value); }
104 [RedDot(
"eltsupplement")]
105 public string Supplement
107 get {
return GetAttributeValue<string>(); }
108 set { SetAttributeValue(value); }