示例#1
0
 /// <summary>
 /// Enable or disable field for translation according to actual Attribute Type (from DropDown list)
 /// </summary>
 private void SetFieldForTranslations()
 {
     if (TranslationServiceHelper.IsFieldDataTypeAllowedForTranslation(AttributeType) && !IsDummyField && !IsExtraField)
     {
         plcTranslation.Visible = true;
     }
     else
     {
         plcTranslation.Visible    = false;
         chkTranslateField.Checked = false;
     }
 }