ObjectTransformation Class |
Namespace: CMS.UIControls
public class ObjectTransformation : ObjectTransformationBase
The ObjectTransformation type exposes the following members.
Name | Description | |
---|---|---|
ObjectTransformation |
Constructor.
| |
ObjectTransformation(String, Int32) |
Constructor.
|
Name | Description | |
---|---|---|
ContextResolver |
Macro resolver to use
(Inherited from ObjectTransformationBase.) | |
DataItem |
Data item for the transformation template
(Inherited from ObjectTransformationBase.) | |
DataItemIndex |
Data item index
(Inherited from ObjectTransformationBase.) | |
DataProvider |
Data provider for this transformation
| |
DirectIfNotCached |
If true, the component is allowed to get the objects one by one directly from provider if not found registered. Default false.
(Inherited from ObjectTransformationBase.) | |
DisplayIndex |
Display index
(Inherited from ObjectTransformationBase.) | |
EncodeOutput |
If true, the output is encoded. Default value is true.
(Inherited from ObjectTransformationBase.) | |
LocalizeStrings |
If true, the output localizes the string macros.
(Inherited from ObjectTransformationBase.) | |
NoDataTransformation |
Transformation used in case the object was not found
(Inherited from ObjectTransformationBase.) | |
ObjectID |
Object ID.
| |
ObjectRequested |
If true, the object was already requested
(Inherited from ObjectTransformationBase.) | |
ObjectType |
Object type.
(Inherited from ObjectTransformationBase.) | |
Transformation |
Transformation - Column name (e.g. "ResourceName"), Internal UniGrid transformation (e.g. "#yesno") or a macro (e.g. "{% FirstName %} {% LastName %}").
(Inherited from ObjectTransformationBase.) | |
TransformationName |
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
(Inherited from ObjectTransformationBase.) | |
UseEmptyInfoForObjectLimitedByLicense |
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.
(Inherited from ObjectTransformationBase.) |
Name | Description | |
---|---|---|
GetDefaultParameter |
Gets the default parameter for the transformation
(Overrides ObjectTransformationBaseGetDefaultParameter.) | |
GetObject |
Gets the object used by the transformation
(Overrides ObjectTransformationBaseGetObject.) | |
GetObject(String, Int32, Boolean) |
Gets the given object.
| |
RegisterObject |
Register required object.
(Overrides ObjectTransformationBaseRegisterObject.) | |
Render |
Renders the control.
(Inherited from ObjectTransformationBase.) | |
RequireObject |
Marks the given object as required.
| |
ToString |
Overrides base method and returns transformed result as a text.
(Inherited from ObjectTransformationBase.) |
Name | Description | |
---|---|---|
CallHandled |
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |