UIContext Class |
Namespace: CMS.PortalEngine
public class UIContext : AbstractContext<UIContext>, INotCopyThreadItem
The UIContext type exposes the following members.
Name | Description | |
---|---|---|
ClearCurrent |
Clears the current context value
(Inherited from ContextContainerTParent.) | |
Clone |
Clones current UI context and creates new instance
| |
CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContextTContext.) | |
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 AbstractHierarchicalObjectTObject.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetAsCurrent |
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
TryGetProperty(String, Object) |
Gets value from collection
(Overrides AbstractHierarchicalObjectTObjectTryGetProperty(String, Object).) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Overrides AbstractHierarchicalObjectTObjectTryGetProperty(String, Object, Boolean).) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |
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 | |
---|---|---|
AnchorLinks |
List of anchor links for quick navigation.
| |
AssignedControl |
Control to which UI context is assigned. If null context belongs to main page.
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
ContextResolver |
UI context resolver.
| |
Data |
Gets context data for UI.
| |
DisplayBreadcrumbs |
If true, the breadcrumbs should be displayed
| |
DisplaySplitMode |
Indicates if split mode should be displayed.
| |
DisplayTitle |
If true, the title should be displayed
| |
EditedObject |
Object edited by the current page.
| |
EditedObjectParent |
Parent of the object edited by the current page.
| |
ElementGuid |
GUID for element to display
| |
ElementName |
Gets the current UI element name.
| |
HideControlOnError |
If true, the context hides the parent control in case of error
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
IsDialog |
Indicates whether page is dialog or nested in a dialog. Use IsRootDialog property to check the top dialog page.
| |
IsRootDialog |
Indicates whether page is root dialog (top dialog page with header and footer)
| |
Item |
Override indexer, add fallback to querystring
(Overrides AbstractHierarchicalObjectTObjectItemString.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
LoadDataFromParent |
Indicates whether data sould be loaded from parent context
| |
ObjectID |
Object ID
| |
ParentObjectID |
Parent object ID
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
ResolveMacros |
Indicates whether property should be resolved with context's resolver.
| |
ResourceName |
Gets the resource name.
| |
RootElementID |
Root element ID
| |
Secure |
Secure wrapper for properties in special secure mode.
| |
SiteID |
Site ID
| |
SplitMode |
Split mode view (vertical/horizontal).
| |
SplitModeCultureCode |
User culture code for culture version comparison.
| |
SplitModeSyncScrollbars |
Indicates if scrollbars should be synchronized in split mode.
| |
UIElement |
UI element for current context
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |
Name | Description | |
---|---|---|
OnGetValue |
Event fired when the UI context dynamic data is requested
|