17 using erminas.SmartAPI.CMS.Converter;
 
   19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
 
   23         ILanguageDependentValue<string> DefaultValue { 
get; }
 
   25         bool IsCrlfConvertedToBr { 
get; 
set; }
 
   27         bool IsDirectEditActivated { 
get; 
set; }
 
   29         bool IsDragAndDropActivated { 
get; 
set; }
 
   31         bool IsTextFilterDeactivated { 
get; 
set; }
 
   33         bool IsUsingEntireTextIfNoMatchingTagsCanBeFound { 
get; 
set; }
 
   35         int? MaxCharacterCount { 
get; 
set; }
 
   37         ILanguageDependentValue<string> SampleValue { 
get; }
 
   40     internal abstract class Text : ExtendedContentClassContentElement, IText
 
   42         protected Text(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
 
   46         [RedDot(
"eltdefaulttextguid", ConverterType = typeof (DefaultTextConverter))]
 
   47         public ILanguageDependentValue<string> DefaultValue
 
   49             get { 
return GetAttributeValue<ILanguageDependentValue<string>>(); }
 
   52         [RedDot(
"eltcrlftobr")]
 
   53         public bool IsCrlfConvertedToBr
 
   55             get { 
return GetAttributeValue<bool>(); }
 
   56             set { SetAttributeValue(value); }
 
   59         [RedDot(
"eltdirectedit")]
 
   60         public bool IsDirectEditActivated
 
   62             get { 
return GetAttributeValue<bool>(); }
 
   63             set { SetAttributeValue(value); }
 
   66         [RedDot(
"eltdragdrop")]
 
   67         public bool IsDragAndDropActivated
 
   69             get { 
return GetAttributeValue<bool>(); }
 
   70             set { SetAttributeValue(value); }
 
   73         [RedDot(
"eltdeactivatetextfilter")]
 
   74         public bool IsTextFilterDeactivated
 
   76             get { 
return GetAttributeValue<bool>(); }
 
   77             set { SetAttributeValue(value); }
 
   80         [RedDot(
"eltwholetext")]
 
   81         public bool IsUsingEntireTextIfNoMatchingTagsCanBeFound
 
   83             get { 
return GetAttributeValue<bool>(); }
 
   84             set { SetAttributeValue(value); }
 
   87         [RedDot(
"eltmaxsize")]
 
   88         public int? MaxCharacterCount
 
   90             get { 
return GetAttributeValue<int?>(); }
 
   91             set { SetAttributeValue(value); }
 
   94         [RedDot(
"eltrdexampleguid", ConverterType = typeof (SampleTextConverter))]
 
   95         public ILanguageDependentValue<string> SampleValue
 
   97             get { 
return GetAttributeValue<ILanguageDependentValue<string>>(); }