C# Class N2.Details.WithEditableTitleAttribute

Inheritance: AbstractEditableAttribute, IWritingDisplayable, IContentEditable
Mostrar archivo Open project: bherila/n2cms

Public Methods

Method 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

Protected Methods

Method Description
AddEditor ( Control container ) : Control

Method Details

AddEditor() protected method

protected AddEditor ( Control container ) : Control
container System.Web.UI.Control
return System.Web.UI.Control

AddTo() public method

public AddTo ( ContentItem item, string detailName, Control container ) : Control
item ContentItem
detailName string
container System.Web.UI.Control
return System.Web.UI.Control

UpdateEditor() public method

public UpdateEditor ( ContentItem item, Control editor ) : void
item ContentItem
editor System.Web.UI.Control
return void

UpdateItem() public method

public UpdateItem ( ContentItem item, Control editor ) : bool
item ContentItem
editor System.Web.UI.Control
return bool

WithEditableTitleAttribute() public method

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

WithEditableTitleAttribute() public method

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
return System

Write() public method

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