From b9c5dbc466104d59ee2cedefd9e4357dfdc3b543 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sat, 25 Mar 2023 17:24:23 +0000 Subject: [PATCH] * Part of #982 --- .../Krypton.Toolkit/Controls Toolkit/KryptonForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonForm.cs b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonForm.cs index c4c201815..180451b6e 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonForm.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonForm.cs @@ -207,7 +207,7 @@ public KryptonForm() _integratedToolbarButtonCollection = null; - IntegratedToolBarValues = new IntegratedToolBarValues(this); + _integratedToolbarValues = new IntegratedToolBarValues(this); } /// @@ -667,7 +667,7 @@ public float CornerRoundingRadius [Category(@"Visuals")] [Description(@"Gets access to the integrated toolbar values.")] - [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IntegratedToolBarValues IntegratedToolBarValues { get; } public bool ShouldSerializeIntegratedToolBarValues() => !IntegratedToolBarValues.IsDefault;