C# Class ToSic.SexyContent.Edit.InPageEditingSystem.InPageEditingHelperBase

Inheritance: IInPageEditingSystem
Show file Open project: 2sic/2sxc

Public Methods

Method Description
Attribute ( string name, object value ) : System.Web.HtmlString

Generate an HTML attribute by converting the value to JSON - but only in edit mode

Attribute ( string name, string value ) : System.Web.HtmlString

Generate an HTML attribute - but only if in edit mode

ContextAttributes ( DynamicEntity target, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string field = null, string contentType = null, System.Guid newGuid = null ) : System.Web.HtmlString
Toolbar ( DynamicEntity target = null, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string actions = null, string contentType = null, object prefill = null, object toolbar = null, object settings = null ) : System.Web.HtmlString

Private Methods

Method Description
InPageEditingHelperBase ( SxcInstance sxc ) : System

Method Details

Attribute() public method

Generate an HTML attribute by converting the value to JSON - but only in edit mode
public Attribute ( string name, object value ) : System.Web.HtmlString
name string
value object
return System.Web.HtmlString

Attribute() public method

Generate an HTML attribute - but only if in edit mode
public Attribute ( string name, string value ) : System.Web.HtmlString
name string
value string
return System.Web.HtmlString

ContextAttributes() public method

public ContextAttributes ( DynamicEntity target, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string field = null, string contentType = null, System.Guid newGuid = null ) : System.Web.HtmlString
target DynamicEntity
dontRelyOnParameterOrder string
field string
contentType string
newGuid System.Guid
return System.Web.HtmlString

Toolbar() public method

public Toolbar ( DynamicEntity target = null, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string actions = null, string contentType = null, object prefill = null, object toolbar = null, object settings = null ) : System.Web.HtmlString
target DynamicEntity
dontRelyOnParameterOrder string
actions string
contentType string
prefill object
toolbar object
settings object
return System.Web.HtmlString