18 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
22 string DescriptionInCurrentDisplayLanguage {
get;
set; }
24 bool IsDirectEditActivated {
get;
set; }
26 bool IsDragAndDropActivated {
get;
set; }
29 bool IsLanguageIndependent {
get;
set; }
31 bool IsNotConvertingCharactersToHtml {
get;
set; }
34 bool IsNotRelevantForWorklow {
get;
set; }
36 bool IsNotUsedInForm {
get;
set; }
39 internal class Headline : ContentClassElement, IHeadline
41 internal Headline(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
50 [RedDot(
"eltrddescription")]
51 public string DescriptionInCurrentDisplayLanguage
53 get {
return GetAttributeValue<string>(); }
54 set { SetAttributeValue(value); }
57 [RedDot(
"eltdirectedit")]
58 public bool IsDirectEditActivated
60 get {
return GetAttributeValue<bool>(); }
61 set { SetAttributeValue(value); }
64 [RedDot(
"eltdragdrop")]
65 public bool IsDragAndDropActivated
67 get {
return GetAttributeValue<bool>(); }
68 set { SetAttributeValue(value); }
71 [VersionIsLessThan(9, 0, 0, 41, VersionName =
"Version 9 Hotfix 5")]
72 [RedDot(
"eltlanguageindependent")]
73 public bool IsLanguageIndependent
77 VersionVerifier.EnsureVersion(ContentClass.Project.Session);
78 return GetAttributeValue<bool>();
82 VersionVerifier.EnsureVersion(ContentClass.Project.Session);
83 SetAttributeValue(value);
87 [RedDot(
"eltdonothtmlencode")]
88 public bool IsNotConvertingCharactersToHtml
90 get {
return GetAttributeValue<bool>(); }
91 set { SetAttributeValue(value); }
94 [VersionIsLessThan(9, 0, 0, 41, VersionName =
"Version 9 Hotfix 5")]
95 [RedDot(
"eltignoreworkflow")]
96 public bool IsNotRelevantForWorklow
100 VersionVerifier.EnsureVersion(ContentClass.Project.Session);
101 return GetAttributeValue<bool>();
105 VersionVerifier.EnsureVersion(ContentClass.Project.Session);
106 SetAttributeValue(value);
110 [RedDot(
"elthideinform")]
111 public bool IsNotUsedInForm
113 get {
return GetAttributeValue<bool>(); }
114 set { SetAttributeValue(value); }