UIContext MembersKentico 8.1 API Reference
The UIContext type exposes the following members.
Constructors

  NameDescription
Public methodUIContext
Back to Top
Methods

  NameDescription
Public methodClone
Clones current UI context and creates new instance
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from AbstractContext TContext .)
Public methodCombineWith
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 .)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .)
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 methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodRegisterColumn(String, Func ParentObjectType, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object )
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected methodRegisterProperties
Registers the properties of this object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRegisterProperty(String, Func ObjectType, Object )
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected methodRegisterProperty(String, Object, Func ObjectType, Object, Object )
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetProperty(String, Object )
Gets value from collection
(Overrides AbstractHierarchicalObject ObjectType  TryGetProperty(String, Object ).)
Public methodTryGetProperty(String, Object , Boolean)
Returns value of property.
(Overrides AbstractHierarchicalObject ObjectType  TryGetProperty(String, Object , Boolean).)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
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 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
Properties

  NameDescription
Public propertyAnchorLinks
List of anchor links for quick navigation.
Public propertyAssignedControl
Control to which UI context is assigned. If null context belongs to main page.
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .)
Public propertyContextResolver
UI context resolver.
Public propertyData
Gets context data for UI.
Public propertyDisplayBreadcrumbs
If true, the breadcrumbs should be displayed
Public propertyStatic memberDisplaySplitMode
Indicates if split mode should be displayed.
Public propertyDisplayTitle
If true, the title should be displayed
Public propertyEditedObject
Object edited by the current page.
Public propertyEditedObjectParent
Parent of the object edited by the current page.
Public propertyElementGuid
GUID for element to display
Public propertyElementName
Gets the current UI element name.
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from RequestContainer TParent .)
Public propertyIsDialog
Is dialog property
Public propertyIsRootDialog
Indicates whether page is root dialog (top dialog page with header and footer)
Public propertyItem
Override indexer, add fallback to querystring
(Overrides AbstractHierarchicalObject ObjectType  Item String .)
Public propertyLoadDataFromParent
Indicates whether data sould be loaded from parent context
Public propertyObjectID
Object ID
Public propertyParentObjectID
Parent object ID
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .)
Public propertyResolveMacros
Indicates whether property should be resolved with context's resolver.
Public propertyResourceName
Gets the resource name.
Public propertyRootElementID
Root element ID
Public propertySecure
Secure wrapper for properties in special secure mode.
Public propertySiteID
Site ID
Public propertyStatic memberSplitMode
Split mode view (vertical/horizontal).
Public propertyStatic memberSplitModeCultureCode
User culture code for culture version comparison.
Public propertyStatic memberSplitModeSyncScrollbars
Indicates if scrollbars should be synchronized in split mode.
Public propertyUIElement
UI element for current context
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .)
Back to Top
Events

  NameDescription
Public eventOnGetValue
Event fired when the UI context dynamic data is requested
Back to Top
See Also