From 9b8035e091a772bdd7e651d0e5ec860267705d4d Mon Sep 17 00:00:00 2001 From: Giduac Date: Mon, 16 Dec 2024 18:43:01 +0100 Subject: [PATCH] 1908-V100-KDGV-Column-indicator-image-class Updates PR 1948 --- .../KryptonDataGridViewCellIndicatorImage.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonDataGridViewCellIndicatorImage.cs b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonDataGridViewCellIndicatorImage.cs index 758dd1d2e..73decf4f9 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonDataGridViewCellIndicatorImage.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonDataGridViewCellIndicatorImage.cs @@ -75,12 +75,15 @@ public KryptonDataGridView? DataGridView } } + /// + /// Cell indicator image. + /// public virtual Image? Image { get { _rwls.EnterReadLock(); - Image? image = _image; + var image = _image?.Clone() as Image; _rwls.ExitReadLock(); return image;