VariantHelper MembersKentico 8.0 API Reference
The VariantHelper type exposes the following members.
Methods

  NameDescription
Public methodStatic memberDeleteWidgetVariants
Removes all widget variants and their combinations.
Public methodStatic memberGetVariantID
Return variant ID based on name and page template ID
Public methodStatic memberGetVariants
Returns variants for given type and documents or template
Public methodStatic memberSaveWebPartVariantChanges
Saves the web part variant changes (MVT/Content personalization variants).
Public methodStatic memberSetVariant
Saves variant's properties
Public methodStatic memberSetVariantWebParts(WebPartZoneInstance, Int32)
Saves the variant.
Public methodStatic memberSetVariantWebParts(VariantModeEnum, Int32, XmlNode)
Saves the variants
Back to Top
See Also