C# Class SitecoreExtension.ChildlistField.UI.AddChildElement

Dialog for adding a new child element (available templates are those set in the insertOptions field on the parent)
Inheritance: DialogForm
Afficher le fichier Open project: 1508/SitecoreExtension-ChildlistField

Protected Properties

Свойство Type Description
ElementName Edit
TemplateList Listview

Méthodes publiques

Méthode Description
AddChildElement ( ) : System

Initializes a new instance of the AddChildElement class.

Méthodes protégées

Méthode Description
BindListview ( ) : void

Populates the listview with the available templates

OnLoad ( EventArgs e ) : void

Initiates the various properties and populates the listview

OnOK ( object sender, EventArgs args ) : void

Creates a new child if a proper template has been selected

Method Details

AddChildElement() public méthode

Initializes a new instance of the AddChildElement class.
public AddChildElement ( ) : System
Résultat System

BindListview() protected méthode

Populates the listview with the available templates
protected BindListview ( ) : void
Résultat void

OnLoad() protected méthode

Initiates the various properties and populates the listview
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnOK() protected méthode

Creates a new child if a proper template has been selected
protected OnOK ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
Résultat void

Property Details

ElementName protected_oe property

Field Element
protected Edit ElementName
Résultat Edit

TemplateList protected_oe property

Field Element
protected Listview TemplateList
Résultat Listview