Class SerializationSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
Assembly: Syncfusion.EJ.dll
Syntax
public class SerializationSettings : EJTagHelper
Constructors
SerializationSettings()
Declaration
public SerializationSettings()
Properties
PreventDefaultValues
DiagramProperties Model = new DiagramProperties();
Model.SerializationSettings.PreventDefaultValues =false;
Declaration
[JsonProperty("preventDefaultValues")]
public bool PreventDefaultValues { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | false |
Examples
@{
Html.EJ().Diagram("Diagram").Height("600px").SerializationSettings(sn => sn.PreventDefaultValues(false));
}