Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PaletteSelectionChangedEventArgs

    Show / Hide Table of Contents

    Class PaletteSelectionChangedEventArgs

    Notifies when the selection objects change in the symbol palette.

    Inheritance
    System.Object
    PaletteSelectionChangedEventArgs
    Namespace: Syncfusion.Blazor.Diagram.SymbolPalette
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PaletteSelectionChangedEventArgs : Object
    Examples
    <SfSymbolPaletteComponent Palettes="@Palettes" SelectionChanged="PaletteSelectionChange">
    </SfSymbolPaletteComponent>
    private void PaletteSelectionChange(PaletteSelectionChangedEventArgs args)
    {
        String oldID = args.OldValue;
    }

    Constructors

    PaletteSelectionChangedEventArgs()

    Declaration
    public PaletteSelectionChangedEventArgs()

    Properties

    NewValue

    Returns the new palette item ID that is selected.

    Declaration
    public string NewValue { get; }
    Property Value
    Type Description
    System.String
    Examples
    <SfSymbolPaletteComponent Palettes="@Palettes" SelectionChanged="PaletteSelectionChange">
    </SfSymbolPaletteComponent>
    private void PaletteSelectionChange(PaletteSelectionChangedEventArgs args)
    {
        String newID = args.NewValue;
    }

    OldValue

    Returns the old palette item ID that is selected.

    Declaration
    public string OldValue { get; }
    Property Value
    Type Description
    System.String
    Examples
    <SfSymbolPaletteComponent Palettes="@Palettes" SelectionChanged="PaletteSelectionChange">
    </SfSymbolPaletteComponent>
    private void PaletteSelectionChange(PaletteSelectionChangedEventArgs args)
    {
        String oldID = args.OldValue;
    }
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved