Class ItemField
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Represents an item field metadata.
- Inheritance
-
Item
Field
- Implements
- Inherited Members
Constructors
ItemField()
Initializes a new instance of an object.
ItemField(ItemField)
Initializes a new instance of an object.
Parameters
copyFrom
ItemField Object to copy state from.
Exceptions
- Argument
Null Exception copyFrom
is null.
Properties
DefaultValue
Gets or sets the default value for the field.
Property Value
DefaultValueCulture
Gets the culture information that indicates under which culture the default value was saved.
Property Value
DefaultValueExpression
Gets or sets the default value expression for the field.
Property Value
Description
Gets or sets the field description.
Property Value
Editor
Gets or sets the editor metadata.
Property Value
EditorConfiguration
Gets or sets the editor configuration (ConfigurableAddin extensibility).
Property Value
ExcludeFromSearch
Property Value
Name
Gets or sets the user-friendly name of the field.
Property Value
Options
Gets or sets the value options setup for this field.
Property Value
Parent
Gets or sets the system name of parent item type.
Property Value
SystemName
Gets or sets the system name of the field.
Property Value
UnderlyingType
Gets or sets the underlying type of the item field.
Property Value
Validators
Gets or sets the list of field validators.
Property Value
Methods
CheckRequired()
Returns value indicating whether this field is required.
Returns
- bool
Value indicating whether this field is required.
CompareTo(ItemField?)
Compares the current object with the given one and returns the comparison result.
Parameters
other
ItemField Object to compare with.
Returns
- int
Comparison result.
CopyTo(ItemField)
Copies the state of the current object into the given one.
Parameters
target
ItemField Object to copy state into.
Exceptions
- Argument
Null Exception target
is null.
CreateEditorInstance(bool)
Gets the field editor instance with loaded configuration
Parameters
isEditing
boolIf editor is needed for editing.
Returns
- Editor
Editor instance.
IsEditor(Type, bool)
Parameters
Returns
ParseFrom(PropertyInfo)
Returns the field metadata that is parsed from the metadata of the given property.
Parameters
property
PropertyInfo Property to examine.
Returns
- Item
Field Field metadata.