Class DetailsGroup
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about a details group.
public class DetailsGroup
- Inheritance
-
DetailsGroup
- Inherited Members
Constructors
DetailsGroup()
public DetailsGroup()
Properties
ControlType
Gets or sets the DetailsGroup.InheritanceType of the instance.
public DetailsGroupControlType ControlType { get; set; }
Property Value
Extensions
Gets or sets the DetailsGroup.InheritanceType of the instance.
public string Extensions { get; set; }
Property Value
HasPrimaryImageRule
Gets or sets the value indicating whether primary image will be added via this group checkin rule.
public bool HasPrimaryImageRule { get; set; }
Property Value
Icon
Gets or sets the KnownIcon of the instance.
public KnownIcon Icon { get; set; }
Property Value
IconColor
Gets or sets the KnownColor of the instance.
public KnownColor IconColor { get; set; }
Property Value
Id
Gets or sets the Id the details group.
public int Id { get; set; }
Property Value
Inheritance
Gets or sets the DetailsGroup.InheritanceType of the instance.
public DetailsGroup.InheritanceType Inheritance { get; set; }
Property Value
InheritDefaultImageAcrossLanguages
Gets or sets value indicating whether default image will be inherited across languages.
public bool InheritDefaultImageAcrossLanguages { get; set; }
Property Value
InheritDefaultImageAcrossVariants
Gets or sets value indicating whether default image will be inherited across variants.
public bool InheritDefaultImageAcrossVariants { get; set; }
Property Value
IsSystemGroup
Gets or sets the value indicating whether group is system one.
public bool IsSystemGroup { get; set; }
Property Value
PrimaryImageNameAddition
Gets or sets the text will be used to check whether found image should be primary for product.
public string PrimaryImageNameAddition { get; set; }
Property Value
PrimaryImageNameAdditionType
Gets or sets the DetailsGroupPrimaryImageNameAdditionType of the instance.
public DetailsGroupPrimaryImageNameAdditionType PrimaryImageNameAdditionType { get; set; }
Property Value
SearchPattern
Gets or sets the pattern based on which images will be added to products.
public string SearchPattern { get; set; }
Property Value
SystemName
Gets or sets the system name the details group.
public string SystemName { get; set; }
Property Value
Translations
Gets the translations for the current entity
public TranslationCollection<DetailsGroupTranslation> Translations { get; }
Property Value
Methods
GetAvailableLanguageIds()
Makes this instance to read only.
[Obsolete("Use Translations instead.")]
public IEnumerable<string> GetAvailableLanguageIds()
Returns
GetLocalizedName(string)
Gets the translation for specific language.
[Obsolete("Use GetName instead.")]
public string GetLocalizedName(string languageId)
Parameters
languageId
string- The language identifier.
Returns
- string
- Returns an translation if it exists of empty
GetName(string)
Gets the name of the details group for the given language.
public string GetName(string languageId)
Parameters
languageId
string
Returns
SetLocalizedName(string, string)
Set translation for specified language
[Obsolete("Use SetName instead.")]
public void SetLocalizedName(string languageId, string name)
Parameters
SetName(string, string)
Sets the name of the details group for the given language.
public void SetName(string languageId, string name)