Try our conversational search powered by Generative AI!

Class TransformPropertyEventArgs

Event argument used at import or export of a property.

Inheritance
System.Object
System.EventArgs
TransformPropertyEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class TransformPropertyEventArgs : EventArgs

Constructors

TransformPropertyEventArgs(RawProperty)

Initializes a new instance of the TransformPropertyEventArgs class.

Declaration
[Obsolete("Use alternative constructor")]
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
[Obsolete("Use alternative constructor")]
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
[Obsolete("Use alternative constructor")]
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.

TransformPropertyEventArgs(RawProperty, PropertyData, RawContent, IContent)

Initializes a new instance of the TransformPropertyEventArgs class.

Declaration
public TransformPropertyEventArgs(RawProperty sourceProperty, PropertyData destinationProperty, RawContent contextContent, IContent content)
Parameters
Type Name Description
RawProperty sourceProperty

The source property.

PropertyData destinationProperty

The destination property.

RawContent contextContent

The raw format of the content that is being exported/imported.

IContent content

The raw format of the content that is being exported/imported

Properties

ContextContent

The raw format of the content that is being exported/imported

Declaration
public RawContent ContextContent { get; }
Property Value
Type Description
RawContent

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

true if this instance is handled; otherwise, false.

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

TransferredContent

The content that is being exported/imported

Declaration
public IContent TransferredContent { get; }
Property Value
Type Description
IContent

Extension Methods