C# Class N2.Details.WithEditableTitleAttribute

Inheritance: AbstractEditableAttribute, IWritingDisplayable, IContentEditable
Afficher le fichier Open project: bherila/n2cms

Méthodes publiques

Méthode Description
AddTo ( ContentItem item, string detailName, Control container ) : Control
UpdateEditor ( ContentItem item, Control editor ) : void
UpdateItem ( ContentItem item, Control editor ) : bool
WithEditableTitleAttribute ( ) : System

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

WithEditableTitleAttribute ( 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

AddTo() public méthode

public AddTo ( ContentItem item, string detailName, Control container ) : Control
item ContentItem
detailName string
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

WithEditableTitleAttribute() public méthode

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

WithEditableTitleAttribute() public méthode

Creates a new instance of the WithEditableAttribute class with default values.
public WithEditableTitleAttribute ( 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