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 |
---|
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 |
---|
System.String |
Examples
<SfSymbolPaletteComponent Palettes="@Palettes" SelectionChanged="PaletteSelectionChange">
</SfSymbolPaletteComponent>
private void PaletteSelectionChange(PaletteSelectionChangedEventArgs args)
{
String oldID = args.OldValue;
}