New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Web.UI.Diagram.ShapeDefaultsConverter

Serialization JS converter class for ShapeDefaults

Inheritance Hierarchy

  • System.Object
  • System.Web.Script.Serialization.JavaScriptConverter
  • Telerik.Web.UI.ExplicitJavaScriptConverter
  • Telerik.Web.UI.Diagram.ShapeDefaultsConverter

Methods

AddScript

Serialize the value as a script, not a string. Should be used alongside with

Parameters

state System.Collections.Generic.IDictionary{System.String,System.Object}

The state collection for the values

key System.String

The key in the JSON object

value System.Object

The value in the JSON obejct

Returns

System.Void