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:
.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public Func<Palette, bool>? TrySetPaletteCallback { get; set; }
Public Property TrySetPaletteCallback As Func(Of Palette, Boolean)
Get
Set
public:
property Func<Palette^, bool>^ TrySetPaletteCallback {
Func<Palette^, bool>^ get ();
void set (Func<Palette^, bool>^ value);
}
member TrySetPaletteCallback : Func<Palette, bool> with get, set
Property Value
FuncPalette,
Boolean