Click or drag to resize
UIContextHelper Class
Class helper for context's methods.
Inheritance Hierarchy
SystemObject
  CMS.FormEngine.Web.UIUIContextHelper

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class UIContextHelper

The UIContextHelper type exposes the following members.

Constructors
  NameDescription
Public methodUIContextHelper
Top
Fields
  NameDescription
Public fieldStatic memberGRIDDIRECTORY
Default directory for uni grids definitions
Public fieldStatic memberQUERY_STRING_KEY
Represents key for storing query string
Top
Methods
  NameDescription
Public methodStatic memberAppendDialogHash
Appends hash to URL if context contains dialog parameter
Public methodStatic memberCheckElementAvailabilityInUI
Checks the UI element availability. This check includes evaluation of the element's macro condition, license check of the element's feature and check if the element's resource (module) is available.
Public methodStatic memberCheckElementVisibilityCondition
Checks visibility condition of the UI element given.
Public methodStatic memberCheckFeatureAvailableInUI
Checks for element's feature availability for UI.
Public methodStatic memberCheckHelpTopicVisiblityCondition
Checks visibility condition of the helpTopic given.
Public methodStatic memberCheckSelectedElement
Checks if given element is parent of selected element (based by ID path)
Public methodStatic memberCorrectChildParentRelations
Appends URL suffix to element's URL. Replace objectID for parentobjectID if object types are different (parent-child)
Public methodStatic memberFindElementFeature
Returns element feature. If feature is empty, tries to find it from parents.
Public methodStatic memberGetApplicationDescriptionUrl
Returns URL to Application description for given element. If provided element doesn't have an application, empty string is returned.
Public methodStatic memberGetElementBreadcrumbsSuffix
Gets UI element breadcrumbs suffix.
Public methodStatic memberGetElementUrl(UIElementInfo, UIContext)
Returns element's URL based on elements type
Public methodStatic memberGetElementUrl(String, String, UIContext)
Returns element's URL based on element's type
Public methodStatic memberGetElementUrl(UIElementInfo, Boolean, Int32, String)
Returns element's URL
Public methodStatic memberGetElementUrl(String, String, Boolean, Int32, String)
Returns element's URL
Public methodStatic memberGetObjectBreadcrumbsText
Returns object's breadcrumbs text.
Public methodStatic memberGetObjectType
Gets object type of (created)edited object (if any)
Public methodStatic memberGetTitleText
Gets title text based on 'titletext' property. If this property is not found, use element's caption (not localized).
Public methodStatic memberGetUIContext
Returns control's UI context. If no parent control contains own UI context, use main page's (stored in request stock helper).
Top
See Also