C# Class N2.Details.WithEditableNameAttribute

Inheritance: AbstractEditableAttribute, IWritingDisplayable, IDisplayable
Afficher le fichier Open project: Earthware/n2cms

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
UpdateEditor ( ContentItem item, Control editor ) : void
UpdateItem ( ContentItem item, Control editor ) : bool
WithEditableNameAttribute ( ) : System

Creates a new instance of the WithEditableAttribute class with default values.

WithEditableNameAttribute ( string title, int sortOrder ) : System

Creates a new instance of the WithEditableAttribute class with default values.

Write ( ContentItem item, string propertyName, System writer ) : void

Méthodes protégées

Méthode Description
AddEditor ( Control container ) : Control

Method Details

AddEditor() protected méthode

protected AddEditor ( Control container ) : Control
container System.Web.UI.Control
Résultat System.Web.UI.Control

UpdateEditor() public méthode

public UpdateEditor ( ContentItem item, Control editor ) : void
item ContentItem
editor System.Web.UI.Control
Résultat void

UpdateItem() public méthode

public UpdateItem ( ContentItem item, Control editor ) : bool
item ContentItem
editor System.Web.UI.Control
Résultat bool

WithEditableNameAttribute() public méthode

Creates a new instance of the WithEditableAttribute class with default values.
public WithEditableNameAttribute ( ) : System
Résultat System

WithEditableNameAttribute() public méthode

Creates a new instance of the WithEditableAttribute class with default values.
public WithEditableNameAttribute ( string title, int sortOrder ) : System
title string The label displayed to editors
sortOrder int The order of this editor
Résultat System

Write() public méthode

public Write ( ContentItem item, string propertyName, System writer ) : void
item ContentItem
propertyName string
writer System
Résultat void