CustomIndexedBitmapDataConfigTrySetPaletteCallback Property

Gets or sets a delegate that will be invoked when the TrySetPalette extension method is called. If the bitmap data to create belongs to a bitmap of a 3rd party library, then this delegate can be used to update the actual palette of the actual bitmap.
Default value: .

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Func<Palette, bool>? TrySetPaletteCallback { get; set; }

Property Value

FuncPalette, Boolean

See Also