Class TransformPropertyEventArgs
Event argument used at import or export of a property.
Inheritance
Inherited Members
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class TransformPropertyEventArgs : EventArgs
Constructors
TransformPropertyEventArgs(RawProperty)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
public TransformPropertyEventArgs(RawProperty sourceProperty)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
TransformPropertyEventArgs(RawProperty, PropertyData)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
PropertyData | destinationProperty | The destination property. |
TransformPropertyEventArgs(RawProperty, PropertyData, RawContent)
Initializes a new instance of the TransformPropertyEventArgs class.
Declaration
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty, RawContent contextContent)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | sourceProperty | The source property. |
PropertyData | destinationProperty | The destination property. |
RawContent | contextContent | Content of the context. |
Properties
ContextContent
Declaration
public RawContent ContextContent { get; }
Property Value
Type | Description |
---|---|
RawContent |
ContextPage
Gets the page the property belongs to.
Declaration
[Obsolete("Use ContextContent")]
public RawPage ContextPage { get; }
Property Value
Type | Description |
---|---|
RawPage | The context page. |
IsHandled
Gets or sets a value indicating whether the property transfer has been handled.
Declaration
public bool IsHandled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PropertyDestination
Gets or sets the property destination.
Declaration
public PropertyData PropertyDestination { get; set; }
Property Value
Type | Description |
---|---|
PropertyData | The property destination. |
Remarks
This is what is set during import when a PageData instance is created and populated.
PropertySource
Gets or sets the property source.
Declaration
public RawProperty PropertySource { get; set; }
Property Value
Type | Description |
---|---|
RawProperty | The property source. |
Remarks
This is the value in the export package