Class CancelPropertyDefinitionTypeEventArgs
Event args used when PropertyDefinitionTypeSaving is raised.
Inheritance
System.Object
CancelPropertyDefinitionTypeEventArgs
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class CancelPropertyDefinitionTypeEventArgs : CancelEventArgs
Constructors
CancelPropertyDefinitionTypeEventArgs(PropertyDefinitionType)
Initializes a new instance of the CancelPropertyDefinitionTypeEventArgs class.
Declaration
public CancelPropertyDefinitionTypeEventArgs(PropertyDefinitionType propertyDefinitionType)
Parameters
Type | Name | Description |
---|---|---|
PropertyDefinitionType | propertyDefinitionType | Type of the property definition. |
Properties
CancelReason
Gets or sets the cancel reason.
Declaration
public string CancelReason { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cancel reason. |
PropertyDefinitionType
Gets the PropertyDefinitionType that the event is raised for.
Declaration
public PropertyDefinitionType PropertyDefinitionType { get; }
Property Value
Type | Description |
---|---|
PropertyDefinitionType | The type of the property definition. |