diff --git a/Source/Krypton Components/Krypton.Toolkit/Converters/PaletteModeConverter.cs b/Source/Krypton Components/Krypton.Toolkit/Converters/PaletteModeConverter.cs index 72222bc29..a84e0a10d 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Converters/PaletteModeConverter.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Converters/PaletteModeConverter.cs @@ -84,12 +84,6 @@ public PaletteModeConverter() } #endregion - #region Implementation - - //public void AddToPaletteModePair(int index, PaletteMode paletteMode, string paletteName)=>_pairs. - - #endregion - #region Protected /// /// Gets an array of lookup pairs. diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Base/PaletteDefinitions.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Base/PaletteDefinitions.cs index 59d4c2ef4..30fe7a3a2 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Base/PaletteDefinitions.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Base/PaletteDefinitions.cs @@ -2093,61 +2093,6 @@ public enum PaletteMode /// Office2007LightGray, - /*/// - /// Specifies the Access color variant of the Office 2007 appearance. - /// - Office2007Access, - - /// - /// Specifies the Excel color variant of the Office 2007 appearance. - /// - Office2007Excel, - - /// - /// Specifies the Groove color variant of the Office 2007 appearance. - /// - Office2007Groove, - - /// - /// Specifies the InfoPath color variant of the Office 2007 appearance. - /// - Office2007InfoPath, - - /// - /// Specifies the OneNote color variant of the Office 2007 appearance. - /// - Office2007OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2007 appearance. - /// - Office2007Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2007 appearance. - /// - Office2007PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2007 appearance. - /// - Office2007Project, - - /// - /// Specifies the Publisher color variant of the Office 2007 appearance. - /// - Office2007Publisher, - - /// - /// Specifies the Visio color variant of the Office 2007 appearance. - /// - Office2007Visio, - - /// - /// Specifies the Word color variant of the Office 2007 appearance. - /// - Office2007Word,*/ - /// /// Specifies the Blue color variant of the Office 2007 appearance. /// @@ -2203,61 +2148,6 @@ public enum PaletteMode /// Office2010LightGray, - /*/// - /// Specifies the Access color variant of the Office 2010 appearance. - /// - Office2010Access, - - /// - /// Specifies the Excel color variant of the Office 2010 appearance. - /// - Office2010Excel, - - /// - /// Specifies the InfoPath color variant of the Office 2010 appearance. - /// - Office2010InfoPath, - - /// - /// Specifies the OneNote color variant of the Office 2010 appearance. - /// - Office2010OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2010 appearance. - /// - Office2010Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2010 appearance. - /// - Office2010PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2010 appearance. - /// - Office2010Project, - - /// - /// Specifies the Publisher color variant of the Office 2010 appearance. - /// - Office2010Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 2010 appearance. - /// - Office2010SharePoint, - - /// - /// Specifies the Visio color variant of the Office 2010 appearance. - /// - Office2010Visio, - - /// - /// Specifies the Word color variant of the Office 2010 appearance. - /// - Office2010Word,*/ - /// /// Specifies the Blue color variant of the Office 2010 appearance. /// @@ -2313,71 +2203,6 @@ public enum PaletteMode /// Office2013LightGray, - /*/// - /// Specifies the Access color variant of the Office 2013 appearance. - /// - Office2013Access, - - /// - /// Specifies the Access color variant of the Office 2013 appearance (In the pre-2013 colours). - /// - Office2013AccessLegacy, - - /// - /// Specifies the Excel color variant of the Office 2013 appearance. - /// - Office2013Excel, - - /// - /// Specifies the InfoPath color variant of the Office 2013 appearance. - /// - Office2013InfoPath, - - /// - /// Specifies the Lync color variant of the Office 2013 appearance. - /// - Office2013Lync, - - /// - /// Specifies the OneNote color variant of the Office 2013 appearance. - /// - Office2013OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2013 appearance. - /// - Office2013Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2013 appearance. - /// - Office2013PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2013 appearance. - /// - Office2013Project, - - /// - /// Specifies the Publisher color variant of the Office 2013 appearance. - /// - Office2013Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 2013 appearance. - /// - Office2013SharePoint, - - /// - /// Specifies the Visio color variant of the Office 2013 appearance. - /// - Office2013Visio, - - /// - /// Specifies the Word color variant of the Office 2013 appearance. - /// - Office2013Word,*/ - /// /// Specifies the White color variant of the Office 2013 appearance. /// @@ -2393,71 +2218,6 @@ public enum PaletteMode /// Office365LightGray, - /*/// - /// Specifies the Access color variant of the Office 365 appearance. - /// - Office365Access, - - /// - /// Specifies the Access color variant of the Office 365 appearance (In the pre-2013 colours). - /// - Office365AccessLegacy, - - /// - /// Specifies the Excel color variant of the Office 365 appearance. - /// - Office365Excel, - - /// - /// Specifies the InfoPath color variant of the Office 365 appearance. - /// - Office365InfoPath, - - /// - /// Specifies the Lync color variant of the Office 365 appearance. - /// - Office365Lync, - - /// - /// Specifies the OneNote color variant of the Office 365 appearance. - /// - Office365OneNote, - - /// - /// Specifies the Outlook color variant of the Office 365 appearance. - /// - Office365Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 365 appearance. - /// - Office365PowerPoint, - - /// - /// Specifies the Project color variant of the Office 365 appearance. - /// - Office365Project, - - /// - /// Specifies the Publisher color variant of the Office 365 appearance. - /// - Office365Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 365 appearance. - /// - Office365SharePoint, - - /// - /// Specifies the Visio color variant of the Office 365 appearance. - /// - Office365Visio, - - /// - /// Specifies the Word color variant of the Office 365 appearance. - /// - Office365Word,*/ - /// /// Specifies the Black color variant of the Office 365 appearance. /// @@ -2590,61 +2350,6 @@ public enum PaletteModeManager /// Office2007LightGray, - /*/// - /// Specifies the Access color variant of the Office 2007 appearance. - /// - Office2007Access, - - /// - /// Specifies the Excel color variant of the Office 2007 appearance. - /// - Office2007Excel, - - /// - /// Specifies the Groove color variant of the Office 2007 appearance. - /// - Office2007Groove, - - /// - /// Specifies the InfoPath color variant of the Office 2007 appearance. - /// - Office2007InfoPath, - - /// - /// Specifies the OneNote color variant of the Office 2007 appearance. - /// - Office2007OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2007 appearance. - /// - Office2007Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2007 appearance. - /// - Office2007PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2007 appearance. - /// - Office2007Project, - - /// - /// Specifies the Publisher color variant of the Office 2007 appearance. - /// - Office2007Publisher, - - /// - /// Specifies the Visio color variant of the Office 2007 appearance. - /// - Office2007Visio, - - /// - /// Specifies the Word color variant of the Office 2007 appearance. - /// - Office2007Word,*/ - /// /// Specifies the Blue color variant of the Office 2007 appearance. /// @@ -2700,61 +2405,6 @@ public enum PaletteModeManager /// Office2010LightGray, - /*/// - /// Specifies the Access color variant of the Office 2010 appearance. - /// - Office2010Access, - - /// - /// Specifies the Excel color variant of the Office 2010 appearance. - /// - Office2010Excel, - - /// - /// Specifies the InfoPath color variant of the Office 2010 appearance. - /// - Office2010InfoPath, - - /// - /// Specifies the OneNote color variant of the Office 2010 appearance. - /// - Office2010OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2010 appearance. - /// - Office2010Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2010 appearance. - /// - Office2010PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2010 appearance. - /// - Office2010Project, - - /// - /// Specifies the Publisher color variant of the Office 2010 appearance. - /// - Office2010Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 2010 appearance. - /// - Office2010SharePoint, - - /// - /// Specifies the Visio color variant of the Office 2010 appearance. - /// - Office2010Visio, - - /// - /// Specifies the Word color variant of the Office 2010 appearance. - /// - Office2010Word,*/ - /// /// Specifies the Blue color variant of the Office 2010 appearance. /// @@ -2810,71 +2460,6 @@ public enum PaletteModeManager /// Office2013LightGray, - /*/// - /// Specifies the Access color variant of the Office 2013 appearance. - /// - Office2013Access, - - /// - /// Specifies the Access color variant of the Office 2013 appearance (In the pre-2013 colours). - /// - Office2013AccessLegacy, - - /// - /// Specifies the Excel color variant of the Office 2013 appearance. - /// - Office2013Excel, - - /// - /// Specifies the InfoPath color variant of the Office 2013 appearance. - /// - Office2013InfoPath, - - /// - /// Specifies the Lync color variant of the Office 2013 appearance. - /// - Office2013Lync, - - /// - /// Specifies the OneNote color variant of the Office 2013 appearance. - /// - Office2013OneNote, - - /// - /// Specifies the Outlook color variant of the Office 2013 appearance. - /// - Office2013Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 2013 appearance. - /// - Office2013PowerPoint, - - /// - /// Specifies the Project color variant of the Office 2013 appearance. - /// - Office2013Project, - - /// - /// Specifies the Publisher color variant of the Office 2013 appearance. - /// - Office2013Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 2013 appearance. - /// - Office2013SharePoint, - - /// - /// Specifies the Visio color variant of the Office 2013 appearance. - /// - Office2013Visio, - - /// - /// Specifies the Word color variant of the Office 2013 appearance. - /// - Office2013Word,*/ - /// /// Specifies the White color variant of the Office 2013 appearance. /// @@ -2889,72 +2474,7 @@ public enum PaletteModeManager /// Specifies the light Grey color variant of the Office 365 appearance. /// Office365LightGray, - - /*/// - /// Specifies the Access color variant of the Office 365 appearance. - /// - Office365Access, - - /// - /// Specifies the Access color variant of the Office 365 appearance (In the pre-2013 colours). - /// - Office365AccessLegacy, - - /// - /// Specifies the Excel color variant of the Office 365 appearance. - /// - Office365Excel, - - /// - /// Specifies the InfoPath color variant of the Office 365 appearance. - /// - Office365InfoPath, - - /// - /// Specifies the Lync color variant of the Office 365 appearance. - /// - Office365Lync, - - /// - /// Specifies the OneNote color variant of the Office 365 appearance. - /// - Office365OneNote, - - /// - /// Specifies the Outlook color variant of the Office 365 appearance. - /// - Office365Outlook, - - /// - /// Specifies the PowerPoint color variant of the Office 365 appearance. - /// - Office365PowerPoint, - - /// - /// Specifies the Project color variant of the Office 365 appearance. - /// - Office365Project, - - /// - /// Specifies the Publisher color variant of the Office 365 appearance. - /// - Office365Publisher, - - /// - /// Specifies the SharePoint color variant of the Office 365 appearance. - /// - Office365SharePoint, - - /// - /// Specifies the Visio color variant of the Office 365 appearance. - /// - Office365Visio, - - /// - /// Specifies the Word color variant of the Office 365 appearance. - /// - Office365Word,*/ - + /// /// Specifies the Black color variant of the Office 365 appearance. /// diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/PaletteBase.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/PaletteBase.cs index da07e7b32..5b2a1b22a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/PaletteBase.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/PaletteBase.cs @@ -1321,7 +1321,7 @@ protected virtual Padding InputControlPadding #endregion #region OnUserPreferenceChanged - internal void UserPreferenceChanged() => OnUserPreferenceChanged(this, new UserPreferenceChangedEventArgs(UserPreferenceCategory.General)); + public void UserPreferenceChanged() => OnUserPreferenceChanged(this, new UserPreferenceChangedEventArgs(UserPreferenceCategory.General)); /// /// Handle a change in the user preferences. diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonInternalKCT.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonInternalKCT.cs index aa89c6c03..ba693f56f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonInternalKCT.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonInternalKCT.cs @@ -13,7 +13,7 @@ namespace Krypton.Toolkit { - internal class KryptonInternalKCT : KryptonColorTable + public class KryptonInternalKCT : KryptonColorTable { #region Instance Fields private KryptonColorTable _baseKCT; diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteButtonSpecs.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteButtonSpecs.cs index 8f0b9af26..ac152d386 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteButtonSpecs.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteButtonSpecs.cs @@ -34,7 +34,7 @@ public class KryptonPaletteButtonSpecs : Storage /// Initialize a new instance of the KryptonPaletteButtonSpecs class. /// /// Palette redirector for sourcing inherited values. - internal KryptonPaletteButtonSpecs(PaletteRedirect redirector) + public KryptonPaletteButtonSpecs(PaletteRedirect redirector) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCheckButtons.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCheckButtons.cs index f4834f759..3b63f3b1c 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCheckButtons.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCheckButtons.cs @@ -28,7 +28,7 @@ public class KryptonPaletteCheckButtons : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteCheckButtons(PaletteRedirect redirector, + public KryptonPaletteCheckButtons(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCommon.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCommon.cs index 3496ae857..a7bc904cf 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCommon.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteCommon.cs @@ -28,7 +28,7 @@ public class KryptonPaletteCommon : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteCommon(PaletteRedirect redirector, + public KryptonPaletteCommon(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteContextMenu.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteContextMenu.cs index 3b5e5c38d..037518bff 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteContextMenu.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteContextMenu.cs @@ -27,7 +27,7 @@ public class KryptonPaletteContextMenu : Storage /// /// Redirector to inherit values from. /// Delegate for notifying paint requests. - internal KryptonPaletteContextMenu(PaletteRedirect redirect, + public KryptonPaletteContextMenu(PaletteRedirect redirect, NeedPaintHandler needPaint) { // Create the storage objects diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteControls.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteControls.cs index 50a0bc0c8..f8c3523e6 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteControls.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteControls.cs @@ -27,7 +27,7 @@ public class KryptonPaletteControls : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteControls(PaletteRedirect redirector, + public KryptonPaletteControls(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteForms.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteForms.cs index b08f63e05..f2d59308b 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteForms.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteForms.cs @@ -27,7 +27,7 @@ public class KryptonPaletteForms : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteForms(PaletteRedirect redirector, + public KryptonPaletteForms(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteGrids.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteGrids.cs index 06266efb9..526df24d6 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteGrids.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteGrids.cs @@ -27,7 +27,7 @@ public class KryptonPaletteGrids : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteGrids(PaletteRedirect redirector, + public KryptonPaletteGrids(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteHeaders.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteHeaders.cs index 5e6de3997..d37c79438 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteHeaders.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteHeaders.cs @@ -27,7 +27,7 @@ public class KryptonPaletteHeaders : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteHeaders(PaletteRedirect redirector, + public KryptonPaletteHeaders(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); @@ -45,8 +45,8 @@ internal KryptonPaletteHeaders(PaletteRedirect redirector, // Create redirectors for inheriting from style specific to style common PaletteRedirectTripleMetric redirectCommon = new(redirector, - HeaderCommon.StateDisabled, HeaderCommon.StateDisabled, - HeaderCommon.StateNormal, HeaderCommon.StateNormal); + HeaderCommon.StateDisabled, HeaderCommon.StateDisabled, + HeaderCommon.StateNormal, HeaderCommon.StateNormal); // Inform the button style to use the new redirector HeaderPrimary.SetRedirector(redirectCommon); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteImages.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteImages.cs index 347303564..09223d6c0 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteImages.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteImages.cs @@ -22,12 +22,13 @@ public class KryptonPaletteImages : Storage #endregion #region Identity + /// /// Initialize a new instance of the KryptonPaletteImages class. /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteImages(PaletteRedirect redirector, + public KryptonPaletteImages(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteInputControls.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteInputControls.cs index d88ee6138..67e1a524a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteInputControls.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteInputControls.cs @@ -28,7 +28,7 @@ public class KryptonPaletteInputControls : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteInputControls(PaletteRedirect redirector, + public KryptonPaletteInputControls(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteLabels.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteLabels.cs index f0eb9895e..9052029d9 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteLabels.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteLabels.cs @@ -28,7 +28,7 @@ public class KryptonPaletteLabels : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteLabels(PaletteRedirect redirector, + public KryptonPaletteLabels(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPalettePanels.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPalettePanels.cs index 8e4157a3d..017ac7635 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPalettePanels.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPalettePanels.cs @@ -28,7 +28,7 @@ public class KryptonPalettePanels : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPalettePanels(PaletteRedirect redirector, + public KryptonPalettePanels(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteRibbon.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteRibbon.cs index 8297e7212..9d3c5b2db 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteRibbon.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteRibbon.cs @@ -46,7 +46,7 @@ public class KryptonPaletteRibbon : Storage /// /// Redirector to inherit values from. /// Delegate for notifying paint requests. - internal KryptonPaletteRibbon(PaletteRedirect redirect, + public KryptonPaletteRibbon(PaletteRedirect redirect, NeedPaintHandler needPaint) { Debug.Assert(redirect != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteSeparators.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteSeparators.cs index f362b2f44..dbea6410b 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteSeparators.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteSeparators.cs @@ -28,7 +28,7 @@ public class KryptonPaletteSeparators : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteSeparators(PaletteRedirect redirector, + public KryptonPaletteSeparators(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTMS.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTMS.cs index 47bdc172f..e0c5cf786 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTMS.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTMS.cs @@ -29,7 +29,7 @@ public class KryptonPaletteTMS : Storage /// Associated palettte instance. /// Initial base KCT to inherit values from. /// Delegate for notifying paint requests. - internal KryptonPaletteTMS(IPalette palette, + public KryptonPaletteTMS(IPalette palette, KryptonColorTable baseKCT, NeedPaintHandler needPaint) { @@ -223,13 +223,13 @@ public void ResetUseRoundedEdges() #endregion #region Internal - internal KryptonColorTable BaseKCT + public KryptonColorTable BaseKCT { get => InternalKCT.BaseKCT; set => InternalKCT.BaseKCT = value; } - internal KryptonInternalKCT InternalKCT { get; } + public KryptonInternalKCT InternalKCT { get; } #endregion } diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTabButtons.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTabButtons.cs index 5bc0eec78..976c4ac7a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTabButtons.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTabButtons.cs @@ -28,7 +28,7 @@ public class KryptonPaletteTabButtons : Storage /// /// Palette redirector for sourcing inherited values. /// Delegate for notifying paint requests. - internal KryptonPaletteTabButtons(PaletteRedirect redirector, + public KryptonPaletteTabButtons(PaletteRedirect redirector, NeedPaintHandler needPaint) { Debug.Assert(redirector != null);