Method | Description | |
---|---|---|
ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object |
Method to convert a property value to an instance of the ColorPalette class.
|
|
IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool |
Method to see if the current property type is of type ColorPalettes editor.
|
public ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object | ||
propertyType | Umbraco.Core.Models.PublishedContent.PublishedPropertyType | The current published property /// type to convert. |
source | object | The original property data. |
preview | bool | True if in preview mode. |
return | object |
public IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool | ||
propertyType | Umbraco.Core.Models.PublishedContent.PublishedPropertyType | The current property type. |
return | bool |