Click or drag to resize
ObjectTransformationBase Class
Base class for object transformation
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsPlaceHolder
      CMS.UIControlsObjectTransformationBase
        CMS.UIControlsObjectTransformation

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
public abstract class ObjectTransformationBase : PlaceHolder, 
	IDataItemContainer, INamingContainer, IOutputEncodingControl

The ObjectTransformationBase type exposes the following members.

Constructors
  NameDescription
Protected methodObjectTransformationBase
Constructor.
Top
Properties
  NameDescription
Public propertyContextResolver
Macro resolver to use
Public propertyDataItem
Data item for the transformation template
Public propertyDataItemIndex
Data item index
Public propertyDirectIfNotCached
If true, the component is allowed to get the objects one by one directly from provider if not found registered. Default false.
Public propertyDisplayIndex
Display index
Public propertyEncodeOutput
If true, the output is encoded. Default value is true.
Public propertyLocalizeStrings
If true, the output localizes the string macros.
Public propertyNoDataTransformation
Transformation used in case the object was not found
Protected propertyObjectRequested
If true, the object was already requested
Public propertyObjectType
Object type.
Public propertyTransformation
Transformation - Column name (e.g. "ResourceName"), Internal UniGrid transformation (e.g. "#yesno") or a macro (e.g. "{% FirstName %} {% LastName %}").
Public propertyTransformationName
Transformation name. Supports the following formats of transformation name: [Some text with macros] - Inline transformation cms.user.sometransformation - Transformation full name from database ~/SomePath/SomeControl.ascx - Path to transformation user control
Public propertyUseEmptyInfoForObjectLimitedByLicense
Gets or sets the value that indicates whether empty info should be used for objects limited by license. Use this property to true if object values need not to be correct and the purpose of the displayed object is object itself.
Top
Methods
  NameDescription
Protected methodGetDefaultParameter
Gets the default parameter for the transformation
Protected methodGetObject
Gets the object used by the transformation
Protected methodRegisterObject
Register required object.
Protected methodRender
Renders the control.
(Overrides ControlRender(HtmlTextWriter).)
Public methodToString
Overrides base method and returns transformed result as a text.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Top
See Also