WebPartZoneInstance Class |
Namespace: CMS.PortalEngine
public class WebPartZoneInstance
The WebPartZoneInstance type exposes the following members.
Name | Description | |
---|---|---|
WebPartZoneInstance |
Constructor.
| |
WebPartZoneInstance(XmlNode) |
Constructor.
|
Name | Description | |
---|---|---|
AddWebPart(Int32, Int32) |
Adds a web part instance of a specified type to the webparts.
| |
AddWebPart(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.
| |
ClearValues |
Clears the given properties
| |
Clone |
Returns the cloned zone instance object.
| |
CloneWebPart |
Clones the web part.
| |
EnsureWebPartInstanceIdentificators |
Ensures web part ControlID and instance GUID for current zone
| |
GetUniqueWebPartId |
Returns unique web part ID within the given Page template.
| |
GetValue |
Returns the value of the given webpart property property.
| |
GetWebPart(Guid) |
Returns the web part instance with specified GUID or null when not found.
| |
GetWebPart(String, Boolean) |
Returns the web part instance with specified ID or null when not found.
| |
GetXmlNode |
Returns the Xml node representing the zone configuration.
| |
LoadVariants |
Loads all the MVT/Content personalization variants for this zone instance.
| |
RemoveAllWebParts |
Removes all web parts from the schema.
| |
RemoveWebPart |
Removes the web part instance from the schema.
| |
SetValue |
Sets the property value of the control.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
HasVariants |
Indicates whether the web part zone has any variants.
| |
InstanceGUID |
Instance GUID to identify the web part.
| |
IsVariant |
Indicates if webpart instance is a variant of the original web part
| |
LayoutZone |
If true, the zone is generated by layout.
| |
MacroTable |
Hashtable with IsMacro flags.
| |
ParentTemplateInstance |
Parent PageTemplate instance for the zone.
| |
Properties |
Web part properties table.
| |
VariantID |
Gets or sets the variant id.
| |
VariantMode |
Gets the variant mode which is used for the variants of this web part instance.
| |
WebParts |
Web parts collection within the zone.
| |
WebPartsContainVariants |
Indicates whether any of the zone web parts contains variants.
| |
WidgetZoneType |
Widget zone type.
| |
XMLVersion |
Gets or sets the zone instance XML version
| |
ZoneID |
Web part zone ID.
| |
ZoneInstanceVariants |
Gets the zone instance variant list.
|