Class EditFormRendererContext
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Provides context to the edit form renderer. This class cannot be inherited.
[Obsolete("Do not use")]
public sealed class EditFormRendererContext
- Inheritance
-
EditFormRendererContext
- Inherited Members
Constructors
EditFormRendererContext()
Initializes a new instance of an object.
public EditFormRendererContext()
EditFormRendererContext(ItemEntry)
Initializes a new instance of an object.
public EditFormRendererContext(ItemEntry item)
Parameters
item
ItemEntry- The item being edited.
EditFormRendererContext(ItemEntry, ItemType)
Initializes a new instance of an object.
public EditFormRendererContext(ItemEntry item, ItemType type)
Parameters
Properties
Field
Gets the current item field being edited.
public ItemField Field { get; set; }
Property Value
Form
Gets the item edit form.
public EditForm Form { get; set; }
Property Value
Group
Gets the current item group being edited.
public LayoutGroupMetadata Group { get; set; }
Property Value
Item
Gets the item being edited.
public ItemEntry Item { get; set; }
Property Value
ItemType
Gets the type of an item being edited.
public ItemType ItemType { get; set; }
Property Value
Type
Gets the type of an item being edited.
[Obsolete("Use ItemType instead")]
public ItemType Type { get; }