Class PropertyPageType
A property that specifies a page type.
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[EditorHint("PageType")]
public class PropertyPageType : PropertyData, IReadOnly<PropertyData>, IReadOnly
Constructors
PropertyPageType()
Initializes a new instance of the Property
Declaration
public PropertyPageType()
PropertyPageType(Int32)
Initializes a new instance of the Property
Declaration
public PropertyPageType(int pageTypeID)
Parameters
Type | Name | Description |
---|---|---|
System. |
pageTypeID | The page type ID. |
Properties
PageTypeID
Gets or sets the ID of the page type.
Declaration
public Nullable<int> PageTypeID { get; set; }
Property Value
Type | Description |
---|---|
System. |
The ID of the page type. |
PageTypeName
Gets or sets the name of the page type.
Declaration
public string PageTypeName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The name of the page type. |
PropertyValueType
Gets the System.
Declaration
public override Type PropertyValueType { get; }
Property Value
Type | Description |
---|---|
System. |
The System. |
Overrides
Type
Property type as defined by enum Property
Declaration
public override PropertyDataType Type { get; }
Property Value
Type | Description |
---|---|
Property |
The type as defined by enum Property |
Overrides
Value
Gets or sets the value of the property.
Declaration
public override object Value { get; set; }
Property Value
Type | Description |
---|---|
System. |
The value of the property. |
Overrides
Remarks
Value returns null if the property has no value defined.
Methods
Parse(String)
Creates a new instance of Property
Declaration
public static PropertyPageType Parse(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The value. |
Returns
Type | Description |
---|---|
Property |
A new instance of Property |
ParseToSelf(String)
Sets the value of the property from a string representation.
Declaration
public override void ParseToSelf(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The string value to parse. |
Overrides
SetDefaultValue()
Sets the default value for this property.
Declaration
protected override void SetDefaultValue()