17 using erminas.SmartAPI.CMS.Converter;
18 using erminas.SmartAPI.CMS.Project.Folder;
20 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
26 bool IsDragAndDropActivated {
get;
set; }
28 bool IsHiddenInProjectStructure {
get;
set; }
30 bool IsLanguageIndependent {
get;
set; }
32 bool IsNotRelevantForWorklow {
get;
set; }
34 bool IsNotUsedInForm {
get;
set; }
36 ILanguageDependentValue<IFile> SrcFile {
get; }
39 internal class Background : ContentClassElement, IBackground
41 internal Background(
IContentClass cc, XmlElement xmlElement) : base(cc, xmlElement)
50 [RedDot(
"eltfolderguid", ConverterType = typeof (FolderConverter))]
53 get {
return GetAttributeValue<IFolder>(); }
54 set { SetAttributeValue(value); }
57 [RedDot(
"eltdragdrop")]
58 public bool IsDragAndDropActivated
60 get {
return GetAttributeValue<bool>(); }
61 set { SetAttributeValue(value); }
64 [RedDot(
"eltinvisibleinclient")]
65 public bool IsHiddenInProjectStructure
67 get {
return GetAttributeValue<bool>(); }
68 set { SetAttributeValue(value); }
71 [RedDot(
"eltlanguageindependent")]
72 public bool IsLanguageIndependent
74 get {
return GetAttributeValue<bool>(); }
75 set { SetAttributeValue(value); }
78 [RedDot(
"eltignoreworkflow")]
79 public bool IsNotRelevantForWorklow
81 get {
return GetAttributeValue<bool>(); }
82 set { SetAttributeValue(value); }
85 [RedDot(
"elthideinform")]
86 public bool IsNotUsedInForm
88 get {
return GetAttributeValue<bool>(); }
89 set { SetAttributeValue(value); }
92 [RedDot(
"__file", ConverterType = typeof (SrcFileConverter))]
93 public ILanguageDependentValue<IFile> SrcFile
95 get {
return GetAttributeValue<ILanguageDependentValue<IFile>>(); }