WebPartInstance Methods |
The WebPartInstance type exposes the following members.
Name | Description | |
---|---|---|
![]() | ClearValues |
Clears the given properties
|
![]() | Clone |
Clones the web part object (GUID stays the same when cloned).
|
![]() | FindVariant |
Finds the variant with the given variant ID
|
![]() | GetValue |
Returns the value of the given webpart property property.
|
![]() | GetXmlNode |
Returns the XML node representing the webpart instance.
|
![]() | LoadProperties(DataRow) |
Loads default values from specified DataRow to the webpart properties.
|
![]() | LoadProperties(WebPartInstance) |
Loads the webpart properties from given webpart.
|
![]() | LoadVariants |
Loads all the MVT/Content personalization variants for this web part instance.
|
![]() | ResolvePropertyMacros |
Resolves the property macros, replaces the {%propertyname%} macro with the property value.
|
![]() | 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.) |
![]() | CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) |
![]() | 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.) |