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: 9.12.2
Syntax
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

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

Extension Methods