alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PaletteJsonConverter

    Serializes a Palette to the EJ2 Diagram PaletteModel JSON shape.

    Inheritance
    System.Object
    PaletteJsonConverter
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class PaletteJsonConverter : JsonConverter<Palette>

    Constructors

    PaletteJsonConverter()

    Declaration
    public PaletteJsonConverter()

    Methods

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Declaration
    public override Palette Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonReader reader
    System.Type typeToConvert
    System.Text.Json.JsonSerializerOptions options
    Returns
    Type
    Palette

    Write(Utf8JsonWriter, Palette, JsonSerializerOptions)

    Declaration
    public override void Write(Utf8JsonWriter writer, Palette value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonWriter writer
    Palette value
    System.Text.Json.JsonSerializerOptions options
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved