WebPartInstance MembersKentico 8.0 API Reference
The WebPartInstance type exposes the following members.
Constructors

  NameDescription
Public methodWebPartInstance 
Constructor.
Public methodWebPartInstance(XmlNode)
Constructor, initializes the instance with given XML data.
Back to Top
Methods

  NameDescription
Public methodClearValues
Clears the given properties
Public methodClone
Clones the web part object (GUID stays the same when cloned).
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 methodFindVariant
Finds the variant with the given variant ID
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 methodGetValue
Returns the value of the given webpart property property.
Public methodGetXmlNode
Returns the XML node representing the webpart instance.
Public methodLoadProperties(DataRow)
Loads default values from specified DataRow to the webpart properties.
Public methodLoadProperties(WebPartInstance)
Loads the webpart properties from given webpart.
Public methodLoadVariants
Loads all the MVT/Content personalization variants for this web part instance.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodResolvePropertyMacros
Resolves the property macros, replaces the {%propertyname%} macro with the property value.
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 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 MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
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
Fields

  NameDescription
Public fieldStatic memberDATASOURCE
Represents nested data source web part name
Back to Top
Properties

  NameDescription
Public propertyControlID
WebPart control ID.
Public propertyCurrentVariantInstance
Gets or sets the current variant webpart instance
Public propertyHasVariants
Indicates whether the web part has any variants.
Public propertyInstanceGUID
Instance GUID to identify the web part.
Public propertyIsVariant
Indicates if webpart instance is a variant.
Public propertyIsWidget
Indicates if webpart instance is actually widget.
Public propertyItem
Gets or sets the value of the property.
Public propertyMacroTable
Hashtable with IsMacro flags.
Public propertyMinimized
If true, the widget is minimized.
Public propertyNestedWebParts
Configuration for the web part data source
Public propertyParentZone
Parent web part zone.
Public propertyPartInstanceVariants
Gets the part instance variant list.
Public propertyProperties
Web part properties table.
Public propertyRemoved
Remove flag. If true, web part has been removed. Only for internal purposes.
Public propertyVariantID
Gets or sets the variant id.
Public propertyVariantMode
Gets or sets the variant mode which is used for the variants of this web part instance.
Public propertyWebPartType
WebPart type (codename).
Public propertyXMLVersion
Gets or sets the web part instance XML version
Back to Top
See Also