示例#1
0
 private void InitializeClass()
 {
     this.ImageTrueMode       = ViewFieldImageMode.Default;
     this.ImageFalseMode      = ViewFieldImageMode.Default;
     this.viewFieldType       = ViewFieldType.None;
     this.isVisible           = true;
     this.Sequence            = 0;
     this.allowEdit           = true;
     this.isVisibleOnCreation = true;
     CellStyle                                              =
         DefaultValueCode                                   =
             EditableCondition                              =
                 ImageNameFalse                             =
                     ImageNameTrue                          =
                         RequiredCondition                  =
                             ValidatorCode                  =
                                 ValueExpressionCode        =
                                     ViewAdvancedSearchCode = string.Empty;
 }
 public ViewField(string fieldName, ViewFieldType fieldType)
 {
     FieldName = fieldName;
     FieldType = fieldType;
 }