The WebPartZoneInstance type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
WebPartZoneInstance |
Constructor.
| |
WebPartZoneInstance(XmlNode) |
Constructor.
|
Methods
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
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
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.
|
See Also