The PortalContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
PortalContext |
Methods
Name | Description | |
---|---|---|
ClearEditorWidgets |
Clears the temporary interlayer which holds modified editor widgets.
| |
CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContext TContext .) | |
CombineWith |
Combines current instance with other properties (modifies current instace!).
List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObject ObjectType .) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .) | |
EnsurePortalMode |
Ensures the portal mode.
| |
EnsureViewMode |
Ensures the view mode value in a variable and returns it.
| |
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.) | |
GetEditorWidgets |
Gets modified editor widgets from a temporary interlayer.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
GetViewMode |
Gets current view mode.
| |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .) | |
IsDesignMode |
Returns true if the given mode is considered design mode (with web parts active)
| |
IsPortalMode |
Returns true if the given mode is mode displaying the document.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterColumn(String, Func ParentObjectType, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisterProperty(String, Func ObjectType, Object ) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisterProperty(String, Object, Func ObjectType, Object, Object ) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SaveEditorWidgets |
Saves the modified editor widgets into a temporary interlayer.
| |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SetRequestViewMode |
Sets current request view mode.
| |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
SetViewMode |
Sets current view mode.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetProperty(String, Object ) |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetProperty(String, Object , Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UpdateViewMode |
Updates the current view mode
|
Extension Methods
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.) |
Properties
Name | Description | |
---|---|---|
ColumnNames |
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .) | |
ContentPersonalizationEnabled |
Indicates whether to show the Content personalization variant slider and render all the web part/zone variants.
| |
ContentPersonalizationVariantsEnabled |
Gets or sets the value that indicates whether current page has at least one personalization variant
| |
CurrentComponents |
List of web part containers used by current page. Hashtable [containerName.ToLowerCSafe() -> WebPartContainerInfo]
| |
CurrentEditableControls |
Gets the list of editable controls on current page.
| |
CurrentPageManager |
Gets or sets the current page manager
| |
CurrentSiteStylesheet |
Returns the current site stylesheet info.
| |
CurrentSiteStylesheetName |
Returns current site stylesheet name.
| |
CurrentUserIsDesigner |
Indicates whether the current user has designer rights and can access web part properties (UI element)
| |
DashboardName |
Gets or sets the current dashboard name.
| |
DashboardSiteName |
Gets or sets the current dashboard site name.
| |
EditableControlsHidden |
Gets or sets the value that indicates whether current page may contain some hidden editable controls
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from RequestContainer TParent .) | |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
MVTCombinationPanelChanged |
Gets the value that indicates whether panel combination was changed
| |
MVTVariantsEnabled |
Indicates whether to show the MVT variant slider and render all the web part/zone variants. This value will be true only when there are defined any multivariate tests for the current document.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
UIContext |
Gets the current UIContext.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
ViewMode |
Returns current ViewMode.
|
See Also