WebPartZoneInstance MembersKentico 8.1 API Reference
The WebPartZoneInstance type exposes the following members.
Constructors

  NameDescription
Public methodWebPartZoneInstance 
Constructor.
Public methodWebPartZoneInstance(XmlNode)
Constructor.
Back to Top
Methods

  NameDescription
Public methodAddWebPart(Int32, Int32)
Adds a web part instance of a specified type to the webparts.
Public methodAddWebPart(WebPartInstance, Int32)
Add the web part to the zone. If the web part is present in different zone, creates a copy of the web part.
Public methodClearValues
Clears the given properties
Public methodClone
Returns the cloned zone instance object.
Public methodCloneWebPart
Clones the web part.
Public methodEnsureWebPartInstanceIdentificators
Ensures web part ControlID and instance GUID for current zone
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberGetUniqueWebPartId
Returns unique web part ID within the given Page template.
Public methodGetValue
Returns the value of the given webpart property property.
Public methodGetWebPart(Guid)
Returns the web part instance with specified GUID or null when not found.
Public methodGetWebPart(String, Boolean)
Returns the web part instance with specified ID or null when not found.
Public methodGetXmlNode
Returns the Xml node representing the zone configuration.
Public methodLoadVariants
Loads all the MVT/Content personalization variants for this zone instance.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRemoveAllWebParts
Removes all web parts from the schema.
Public methodRemoveWebPart
Removes the web part instance from the schema.
Public methodSetValue
Sets the property value of the control.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyHasVariants
Indicates whether the web part zone has any variants.
Public propertyInstanceGUID
Instance GUID to identify the web part.
Public propertyIsVariant
Indicates if webpart instance is a variant of the original web part
Public propertyLayoutZone
If true, the zone is generated by layout.
Public propertyMacroTable
Hashtable with IsMacro flags.
Public propertyParentTemplateInstance
Parent PageTemplate instance for the zone.
Public propertyProperties
Web part properties table.
Public propertyVariantID
Gets or sets the variant id.
Public propertyVariantMode
Gets the variant mode which is used for the variants of this web part instance.
Public propertyWebParts
Web parts collection within the zone.
Public propertyWebPartsContainVariants
Indicates whether any of the zone web parts contains variants.
Public propertyWidgetZoneType
Widget zone type.
Public propertyXMLVersion
Gets or sets the zone instance XML version
Public propertyZoneID
Web part zone ID.
Public propertyZoneInstanceVariants
Gets the zone instance variant list.
Back to Top
See Also