Click or drag to resize
ObjectTransformation Class
Object transformation control
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
public class ObjectTransformation : Literal

The ObjectTransformation type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContextResolver
Macro resolver to use
Public propertyDataProvider
Data provider for this transformation
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 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
Public propertyObjectID
Object ID.
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 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 methodGetObject
Gets the given object.
Protected methodRender
Renders the control.
(Overrides LiteralRender(HtmlTextWriter).)
Protected methodRequireObject
Marks the given object as required.
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