Table of Contents

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

item ItemEntry
The item being edited.
type ItemType
The type of an item being edited.

Properties

Field

Gets the current item field being edited.
public ItemField Field { get; set; }

Property Value

ItemField

Form

Gets the item edit form.
public EditForm Form { get; set; }

Property Value

EditForm

Group

Gets the current item group being edited.
public LayoutGroupMetadata Group { get; set; }

Property Value

LayoutGroupMetadata

Item

Gets the item being edited.
public ItemEntry Item { get; set; }

Property Value

ItemEntry

ItemType

Gets the type of an item being edited.
public ItemType ItemType { get; set; }

Property Value

ItemType

Type

Gets the type of an item being edited.
[Obsolete("Use ItemType instead")]
public ItemType Type { get; }

Property Value

ItemType
To top