From 46eaa81549c0e22d579d201aecad2182ee659f8a Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sun, 16 Jan 2022 10:33:01 +0000 Subject: [PATCH 1/2] * Resolves #596 --- .gitignore | 1 + Documents/Help/Changelog.md | 1 + .../Action Lists/KryptonButtonActionList.cs | 12 ++++++------ .../Action Lists/KryptonCheckBoxActionList.cs | 8 ++++---- .../Action Lists/KryptonCheckSetActionList.cs | 4 ++-- .../KryptonCheckedListBoxActionList.cs | 12 ++++++------ .../Action Lists/KryptonColorButtonActionList.cs | 12 ++++++------ .../Action Lists/KryptonComboBoxActionList.cs | 4 ++-- .../KryptonDateTimePickerActionList.cs | 4 ++-- .../KryptonDomainUpDownActionList.cs | 4 ++-- .../Action Lists/KryptonDropButtonActionList.cs | 12 ++++++------ .../Action Lists/KryptonGroupBoxActionList.cs | 16 ++++++++-------- .../Action Lists/KryptonLabelActionList.cs | 8 ++++---- .../Action Lists/KryptonLinkLabelActionList.cs | 8 ++++---- .../Action Lists/KryptonListBoxActionList.cs | 12 ++++++------ .../Action Lists/KryptonListViewActionList.cs | 8 ++++---- .../KryptonMaskedTextBoxActionList.cs | 4 ++-- .../KryptonMonthCalendarActionList.cs | 12 ++++++------ .../KryptonNumericUpDownActionList.cs | 4 ++-- .../Action Lists/KryptonRadioButtonActionList.cs | 8 ++++---- .../Action Lists/KryptonRichTextBoxActionList.cs | 4 ++-- .../Action Lists/KryptonTextBoxActionList.cs | 4 ++-- .../Action Lists/KryptonTreeViewActionList.cs | 16 ++++++++-------- 23 files changed, 90 insertions(+), 88 deletions(-) diff --git a/.gitignore b/.gitignore index 0a889d7d7..0acb91e93 100644 --- a/.gitignore +++ b/.gitignore @@ -323,3 +323,4 @@ Installer Project Files/Krypton Toolkit Suite/Krypton Toolkit Suite-cache/cacheI Installer Project Files/Krypton Toolkit Suite/Krypton Toolkit Suite-cache/part1/Krypton Toolkit Suite1.cab Installer Project Files/Krypton Toolkit Suite/Krypton Toolkit Suite-cache/part1/output-info.ini Source\Miscellaneous Toolkit Items\Krypton Toolkit Documentation\Help +*.bak diff --git a/Documents/Help/Changelog.md b/Documents/Help/Changelog.md index 6c52fbe32..44d24aa9d 100644 --- a/Documents/Help/Changelog.md +++ b/Documents/Help/Changelog.md @@ -11,6 +11,7 @@ * Versions have now been changed to the following format `Major.yy.MM.dayofyear`, i.e. `60.22.02.32`, but for convenience, builds will still be referenced as `yyMM` in documentation * Overhauled `run.cmd` * Build scripts are now stored in the `Scripts` folder, though it is now recommended to utilise `run.cmd` +* Resolved [#596](https://github.com/Krypton-Suite/Standard-Toolkit/issues/596), ActionLists do not reflect the recommended or possible settings in the designer properties * Resolved [#562](https://github.com/Krypton-Suite/Standard-Toolkit/issues/562), Help Icon is not clearly visible in a lot of themes * Resolved [#380](https://github.com/Krypton-Suite/Standard-Toolkit/issues/380), MDI Child form not fully maximizing not merging on the ribbon * Resolved [#571](https://github.com/Krypton-Suite/Standard-Toolkit/issues/571), CenterScreen start on Form is no longer respected diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs index c1aacf10e..76d3935a4 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs @@ -175,7 +175,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _button.StateCommon.Content.ShortText.Font; @@ -192,7 +192,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _button.StateCommon.Content.LongText.Font; @@ -210,7 +210,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _button.StateCommon.Border.Rounding; @@ -265,9 +265,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", "The krypton context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Button orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Button text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Button extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs index 8a4472f19..f76aee96a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs @@ -226,7 +226,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _checkBox.StateCommon.ShortText.Font; @@ -243,7 +243,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _checkBox.StateCommon.LongText.Font; @@ -314,9 +314,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"LabelStyle", @"Style", @"Appearance", @"Label style")); actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Visual orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"ShortTextTrim", @"Short Text Trim", @"Appearance", @"The trim mode of the short text.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionPropertyItem(@"LongTextTrim", @"Long Text Trim", @"Appearance", @"The trim mode of the long text.")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionHeaderItem(@"Values")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckSetActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckSetActionList.cs index 6ac023833..b887b9f98 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckSetActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckSetActionList.cs @@ -35,7 +35,7 @@ public KryptonCheckSetActionList(KryptonCheckSetDesigner owner) /* /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _set..StateCommon.Content.ShortText.Font; @@ -52,7 +52,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _button.StateCommon.Content.LongText.Font; diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs index 8dfe94177..4a94e4d31 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs @@ -175,7 +175,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _checkedListBox.StateCommon.Item.Content.ShortText.Font; @@ -192,7 +192,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _checkedListBox.StateCommon.Item.Content.LongText.Font; @@ -210,7 +210,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _checkedListBox.StateCommon.Border.Rounding; @@ -245,9 +245,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Behavior")); actions.Add(new DesignerActionPropertyItem(@"SelectionMode", @"Selection Mode", @"Behavior", @"Determines the selection mode.")); actions.Add(new DesignerActionPropertyItem(@"Sorted", @"Sorted", @"Behavior", @"Should items be sorted according to string.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonColorButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonColorButtonActionList.cs index e568222a1..dfdc6b055 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonColorButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonColorButtonActionList.cs @@ -209,7 +209,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _colorButton.StateCommon.Content.ShortText.Font; @@ -226,7 +226,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _colorButton.StateCommon.Content.LongText.Font; @@ -244,7 +244,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _colorButton.StateCommon.Border.Rounding; @@ -310,9 +310,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ButtonOrientation", @"ButtonOrientation", @"Appearance", @"Button orientation")); actions.Add(new DesignerActionPropertyItem(@"DropDownPosition", @"DropDownPosition", @"Appearance", @"DropDown position")); actions.Add(new DesignerActionPropertyItem(@"DropDownOrientation", @"DropDownOrientation", @"Appearance", @"DropDown orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Button text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Button extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs index 268cde149..0da192b4b 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs @@ -125,7 +125,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _comboBox.StateCommon.ComboBox.Border.Rounding; @@ -160,7 +160,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"DropDownStyle", @"Drop Down Style", @"Appearance", @"The combobox drop down style.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"ComboBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The font for the combobox.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); actions.Add(new DesignerActionPropertyItem(@"PaletteMode", @"Palette", @"Visuals", @"Palette applied to drawing")); } diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs index 474db1af7..8cb7c24a1 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs @@ -157,7 +157,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _dateTimePicker.StateCommon.Border.Rounding; @@ -194,7 +194,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ShowCheckBox", @"ShowCheckBox", @"Appearance", @"Display a check box allowing the user to set the value is null")); actions.Add(new DesignerActionPropertyItem(@"Checked", @"Checked", @"Appearance", @"Is the current value null")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The font for the date time picker.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); actions.Add(new DesignerActionPropertyItem(@"PaletteMode", @"Palette", @"Visuals", @"Palette applied to drawing")); } diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs index 9476e708d..02ac28f9b 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs @@ -106,7 +106,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _domainUpDown.StateCommon.Border.Rounding; @@ -140,7 +140,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"DomainUpDown display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The font for the domain up down.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); actions.Add(new DesignerActionPropertyItem(@"PaletteMode", @"Palette", @"Visuals", @"Palette applied to drawing")); } diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs index 6db12e3a2..dc6a3cc58 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs @@ -209,7 +209,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _dropButton.StateCommon.Content.ShortText.Font; @@ -226,7 +226,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _dropButton.StateCommon.Content.LongText.Font; @@ -244,7 +244,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _dropButton.StateCommon.Border.Rounding; @@ -281,9 +281,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"DropDownPosition", @"DropDownPosition", @"Appearance", @"DropDown position")); actions.Add(new DesignerActionPropertyItem(@"DropDownOrientation", @"DropDownOrientation", @"Appearance", @"DropDown orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Button text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Button extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonGroupBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonGroupBoxActionList.cs index bd8bbc4b7..6e86767c5 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonGroupBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonGroupBoxActionList.cs @@ -190,9 +190,9 @@ public Image Image } } - /// Gets or sets the long text font. - /// The long text font. - public Font LongTextFont + /// Gets or sets the State Common State Common Long Text Font. + /// The State Common State Common Long Text Font. + public Font StateCommonLongTextFont { get => _groupBox.StateCommon.Content.LongText.Font; @@ -207,9 +207,9 @@ public Font LongTextFont } } - /// Gets or sets the short text font. - /// The short text font. - public Font ShortTextFont + /// Gets or sets the State Common Short Text Font. + /// The State Common Short Text Font. + public Font StateCommonShortTextFont { get => _groupBox.StateCommon.Content.ShortText.Font; @@ -245,8 +245,8 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"CaptionStyle", @"Caption style", @"Appearance", @"Caption style")); actions.Add(new DesignerActionPropertyItem(@"CaptionEdge", @"Caption edge", @"Appearance", @"Caption edge")); actions.Add(new DesignerActionPropertyItem(@"CaptionOverlap", @"Caption overlap", @"Appearance", @"Caption overlap")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); actions.Add(new DesignerActionPropertyItem(@"PaletteMode", @"Palette", @"Visuals", @"Palette applied to drawing")); actions.Add(new DesignerActionHeaderItem(@"Values")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLabelActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLabelActionList.cs index ad3838251..999187a6d 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLabelActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLabelActionList.cs @@ -141,7 +141,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _label.StateCommon.ShortText.Font; @@ -158,7 +158,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _label.StateCommon.LongText.Font; @@ -191,8 +191,8 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"LabelStyle", @"Style", @"Appearance", @"Label style")); actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Visual orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Label text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Label extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLinkLabelActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLinkLabelActionList.cs index 4b9773651..9963cc259 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLinkLabelActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonLinkLabelActionList.cs @@ -183,7 +183,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _linkLabel.StateCommon.ShortText.Font; @@ -200,7 +200,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _linkLabel.StateCommon.LongText.Font; @@ -235,8 +235,8 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Visual orientation")); actions.Add(new DesignerActionPropertyItem(@"LinkBehavior", @"Link Behavior", @"Appearance", @"Underline behavior")); actions.Add(new KryptonDesignerActionItem(new DesignerVerb(_action, OnLinkVisitedClick), "Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Label text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Label extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs index 9d26fc4f9..895310743 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs @@ -158,7 +158,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _listBox.StateCommon.Item.Content.ShortText.Font; @@ -175,7 +175,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _listBox.StateCommon.Item.Content.LongText.Font; @@ -193,7 +193,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _listBox.StateCommon.Border.Rounding; @@ -246,9 +246,9 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemCornerRounding", @"Item Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the item.")); actions.Add(new DesignerActionHeaderItem(@"Behavior")); actions.Add(new DesignerActionPropertyItem(@"SelectionMode", @"Selection Mode", @"Behavior", @"Determines the selection mode.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs index 681e24829..75e2120a8 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs @@ -105,7 +105,7 @@ public ContextMenuStrip ContextMenuStrip /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _listView.StateCommon.Item.Content.ShortText.Font; @@ -123,7 +123,7 @@ public Font ShortTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _listView.StateCommon.Border.Rounding; @@ -177,8 +177,8 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemCornerRounding", @"Item Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the item.")); actions.Add(new DesignerActionHeaderItem(@"Behavior")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs index f86697372..67a566e9a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs @@ -125,7 +125,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _maskedTextBox.StateCommon.Border.Rounding; @@ -159,7 +159,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"MaskedTextBox")); actions.Add(new DesignerActionPropertyItem(@"Mask", @"Mask", @"MaskedTextBox", @"Input mask.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs index 4dd3eae49..acf607e5a 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs @@ -141,7 +141,7 @@ public bool ShowWeekNumbers /// Gets or sets the font. /// The font. - public Font DayShortTextFont + public Font DayStateCommonShortTextFont { get => _monthCalendar.StateCommon.Day.Content.ShortText.Font; @@ -158,7 +158,7 @@ public Font DayShortTextFont /// Gets or sets the font. /// The font. - public Font DayLongTextFont + public Font DayStateCommonLongTextFont { get => _monthCalendar.StateCommon.Day.Content.LongText.Font; @@ -176,7 +176,7 @@ public Font DayLongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _monthCalendar.StateCommon.Border.Rounding; @@ -208,9 +208,9 @@ public override DesignerActionItemCollection GetSortedActionItems() // Add the list of bread crumb specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); - actions.Add(new DesignerActionPropertyItem(@"DayShortTextFont", @"Day Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"DayLongTextFont", @"Day Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"DayStateCommonShortTextFont", @"Day State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"DayStateCommonLongTextFont", @"Day State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Behavior")); actions.Add(new DesignerActionPropertyItem(@"MaxSelectionCount", @"MaxSelectionCount", @"Behavior", @"Maximum number of selected days")); actions.Add(new DesignerActionPropertyItem(@"ShowToday", @"ShowToday", @"Behavior", @"Show the today button")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs index 48c051177..1e0e84c37 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs @@ -159,7 +159,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _numericUpDown.StateCommon.Border.Rounding; @@ -193,7 +193,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"NumericUpDown display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The numeric up down font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"Data")); actions.Add(new DesignerActionPropertyItem(@"Increment", @"Increment", @"Data", @"NumericUpDown increment value.")); actions.Add(new DesignerActionPropertyItem(@"Maximum", @"Maximum", @"Data", @"NumericUpDown maximum value.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRadioButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRadioButtonActionList.cs index fe5fe7561..4f939d5f1 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRadioButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRadioButtonActionList.cs @@ -175,7 +175,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _radioButton.StateCommon.ShortText.Font; @@ -192,7 +192,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _radioButton.StateCommon.LongText.Font; @@ -228,8 +228,8 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"LabelStyle", @"Style", @"Appearance", @"Label style")); actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Visual orientation")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Radio button text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Radio button extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs index a1859ad2a..830f0b99f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs @@ -142,7 +142,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _richTextBox.StateCommon.Border.Rounding; @@ -176,7 +176,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"TextBox")); actions.Add(new DesignerActionPropertyItem(@"Multiline", @"Multiline", @"TextBox", @"Should text span multiple lines.")); actions.Add(new DesignerActionPropertyItem(@"WordWrap", @"WordWrap", @"TextBox", @"Should words be wrapped over multiple lines.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs index 62e531cde..b99661507 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs @@ -177,7 +177,7 @@ public Font Font /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _textBox.StateCommon.Border.Rounding; @@ -211,7 +211,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); actions.Add(new DesignerActionHeaderItem(@"TextBox")); actions.Add(new DesignerActionPropertyItem(@"Multiline", @"Multiline", @"TextBox", @"Should text span multiple lines.")); actions.Add(new DesignerActionPropertyItem(@"WordWrap", @"WordWrap", @"TextBox", @"Should words be wrapped over multiple lines.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs index a793ad1a5..7365f91c0 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs @@ -141,7 +141,7 @@ public PaletteMode PaletteMode /// Gets or sets the font. /// The font. - public Font ShortTextFont + public Font StateCommonShortTextFont { get => _treeView.StateCommon.Node.Content.ShortText.Font; @@ -158,7 +158,7 @@ public Font ShortTextFont /// Gets or sets the font. /// The font. - public Font LongTextFont + public Font StateCommonLongTextFont { get => _treeView.StateCommon.Node.Content.LongText.Font; @@ -176,7 +176,7 @@ public Font LongTextFont /// Gets or sets the corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.PRIMARY_CORNER_ROUNDING_VALUE)] - public float CornerRadius + public float StateCommonCornerRoundingRadius { get => _treeView.StateCommon.Border.Rounding; @@ -194,7 +194,7 @@ public float CornerRadius /// Gets or sets the node corner radius. /// The corner radius. [DefaultValue(GlobalStaticValues.SECONDARY_CORNER_ROUNDING_VALUE)] - public float NodeCornerRadius + public float NodeStateCommonCornerRoundingRadius { get => _treeView.StateCommon.Node.Border.Rounding; @@ -229,10 +229,10 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display tree items.")); - actions.Add(new DesignerActionPropertyItem(@"ShortTextFont", @"Short Text Font", @"Appearance", @"The short text font.")); - actions.Add(new DesignerActionPropertyItem(@"LongTextFont", @"Long Text Font", @"Appearance", @"The long text font.")); - actions.Add(new DesignerActionPropertyItem(@"CornerRadius", @"Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); - actions.Add(new DesignerActionPropertyItem(@"NodeCornerRadius", @"Node Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the node.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); + actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); + actions.Add(new DesignerActionPropertyItem(@"NodeStateCommonCornerRoundingRadius", @"Node Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the node.")); actions.Add(new DesignerActionHeaderItem(@"Behavior")); actions.Add(new DesignerActionPropertyItem(@"Sorted", @"Sorted", @"Behavior", @"Should items be sorted according to string.")); actions.Add(new DesignerActionHeaderItem(@"Visuals")); From 3a49d8e7c6ab4849c5bf36d5262d1269c325b27c Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sun, 16 Jan 2022 10:48:02 +0000 Subject: [PATCH 2/2] * Add KryptonContextMenu to actionlists --- .../Action Lists/KryptonButtonActionList.cs | 21 +------------------ .../Action Lists/KryptonCheckBoxActionList.cs | 16 +++++++------- .../KryptonCheckedListBoxActionList.cs | 16 +++++++------- .../Action Lists/KryptonComboBoxActionList.cs | 16 +++++++------- .../KryptonDateTimePickerActionList.cs | 16 +++++++------- .../KryptonDomainUpDownActionList.cs | 16 +++++++------- .../KryptonDropButtonActionList.cs | 16 +++++++------- .../Action Lists/KryptonListBoxActionList.cs | 16 +++++++------- .../Action Lists/KryptonListViewActionList.cs | 16 +++++++------- .../KryptonMaskedTextBoxActionList.cs | 16 +++++++------- .../KryptonMonthCalendarActionList.cs | 16 +++++++------- .../KryptonNumericUpDownActionList.cs | 16 +++++++------- .../KryptonRichTextBoxActionList.cs | 16 +++++++------- .../Action Lists/KryptonTextBoxActionList.cs | 16 +++++++------- .../Action Lists/KryptonTreeViewActionList.cs | 16 +++++++------- 15 files changed, 113 insertions(+), 132 deletions(-) diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs index 76d3935a4..28c53f901 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonButtonActionList.cs @@ -54,23 +54,6 @@ public ButtonStyle ButtonStyle } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip - { - get => _button.ContextMenuStrip; - - set - { - if (_button.ContextMenuStrip != value) - { - _service.OnComponentChanged(_button, null, _button.ContextMenuStrip, value); - - _button.ContextMenuStrip = value; - } - } - } - /// Gets or sets the krypton context menu. /// The krypton context menu. public KryptonContextMenu KryptonContextMenu @@ -261,9 +244,7 @@ public override DesignerActionItemCollection GetSortedActionItems() // Add the list of button specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"ButtonStyle", @"Style", @"Appearance", @"Button style")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); - actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", - "The krypton context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"Orientation", @"Orientation", @"Appearance", @"Button orientation")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs index f76aee96a..ab5dc99a6 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckBoxActionList.cs @@ -105,19 +105,19 @@ public bool AutoCheck } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _checkBox.ContextMenuStrip; + get => _checkBox.KryptonContextMenu; set { - if (_checkBox.ContextMenuStrip != value) + if (_checkBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_checkBox, null, _checkBox.ContextMenuStrip, value); + _service.OnComponentChanged(_checkBox, null, _checkBox.KryptonContextMenu, value); - _checkBox.ContextMenuStrip = value; + _checkBox.KryptonContextMenu = value; } } } @@ -318,7 +318,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"ShortTextTrim", @"Short Text Trim", @"Appearance", @"The trim mode of the short text.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionPropertyItem(@"LongTextTrim", @"Long Text Trim", @"Appearance", @"The trim mode of the long text.")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionHeaderItem(@"Values")); actions.Add(new DesignerActionPropertyItem(@"Text", @"Text", @"Values", @"Checkbox text")); actions.Add(new DesignerActionPropertyItem(@"ExtraText", @"ExtraText", @"Values", @"Checkbox extra text")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs index 4a94e4d31..b799db20b 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs @@ -88,19 +88,19 @@ public PaletteBorderStyle BorderStyle } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _checkedListBox.ContextMenuStrip; + get => _checkedListBox.KryptonContextMenu; set { - if (_checkedListBox.ContextMenuStrip != value) + if (_checkedListBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_checkedListBox, null, _checkedListBox.ContextMenuStrip, value); + _service.OnComponentChanged(_checkedListBox, null, _checkedListBox.KryptonContextMenu, value); - _checkedListBox.ContextMenuStrip = value; + _checkedListBox.KryptonContextMenu = value; } } } @@ -243,7 +243,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"BackStyle", @"Back Style", @"Appearance", @"Style used to draw background.")); actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs index 0da192b4b..3aa042d1d 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonComboBoxActionList.cs @@ -37,19 +37,19 @@ public KryptonComboBoxActionList(KryptonComboBoxDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _comboBox.ContextMenuStrip; + get => _comboBox.KryptonContextMenu; set { - if (_comboBox.ContextMenuStrip != value) + if (_comboBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_comboBox, null, _comboBox.ContextMenuStrip, value); + _service.OnComponentChanged(_comboBox, null, _comboBox.KryptonContextMenu, value); - _comboBox.ContextMenuStrip = value; + _comboBox.KryptonContextMenu = value; } } } @@ -156,7 +156,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of label specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"DropDownStyle", @"Drop Down Style", @"Appearance", @"The combobox drop down style.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"ComboBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The font for the combobox.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs index 8cb7c24a1..8ee24955f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDateTimePickerActionList.cs @@ -37,19 +37,19 @@ public KryptonDateTimePickerActionList(KryptonDateTimePickerDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _dateTimePicker.ContextMenuStrip; + get => _dateTimePicker.KryptonContextMenu; set { - if (_dateTimePicker.ContextMenuStrip != value) + if (_dateTimePicker.KryptonContextMenu != value) { - _service.OnComponentChanged(_dateTimePicker, null, _dateTimePicker.ContextMenuStrip, value); + _service.OnComponentChanged(_dateTimePicker, null, _dateTimePicker.KryptonContextMenu, value); - _dateTimePicker.ContextMenuStrip = value; + _dateTimePicker.KryptonContextMenu = value; } } } @@ -188,7 +188,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of bread crumb specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"Format", @"Format", @"Appearance", @"Decide what to display in the edit portion of the control")); actions.Add(new DesignerActionPropertyItem(@"ShowUpDown", @"ShowUpDown", @"Appearance", @"Display up and down buttons for modifying dates and times")); actions.Add(new DesignerActionPropertyItem(@"ShowCheckBox", @"ShowCheckBox", @"Appearance", @"Display a check box allowing the user to set the value is null")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs index 02ac28f9b..2d99d3a5d 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDomainUpDownActionList.cs @@ -37,19 +37,19 @@ public KryptonDomainUpDownActionList(KryptonDomainUpDownDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _domainUpDown.ContextMenuStrip; + get => _domainUpDown.KryptonContextMenu; set { - if (_domainUpDown.ContextMenuStrip != value) + if (_domainUpDown.KryptonContextMenu != value) { - _service.OnComponentChanged(_domainUpDown, null, _domainUpDown.ContextMenuStrip, value); + _service.OnComponentChanged(_domainUpDown, null, _domainUpDown.KryptonContextMenu, value); - _domainUpDown.ContextMenuStrip = value; + _domainUpDown.KryptonContextMenu = value; } } } @@ -137,7 +137,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of label specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"DomainUpDown display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The font for the domain up down.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs index dc6a3cc58..82241a091 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonDropButtonActionList.cs @@ -71,19 +71,19 @@ public VisualOrientation ButtonOrientation } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _dropButton.ContextMenuStrip; + get => _dropButton.KryptonContextMenu; set { - if (_dropButton.ContextMenuStrip != value) + if (_dropButton.KryptonContextMenu != value) { - _service.OnComponentChanged(_dropButton, null, _dropButton.ContextMenuStrip, value); + _service.OnComponentChanged(_dropButton, null, _dropButton.KryptonContextMenu, value); - _dropButton.ContextMenuStrip = value; + _dropButton.KryptonContextMenu = value; } } } @@ -278,7 +278,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionPropertyItem(@"Splitter", @"Splitter", @"Appearance", @"Splitter of DropDown")); actions.Add(new DesignerActionPropertyItem(@"ButtonStyle", @"ButtonStyle", @"Appearance", @"Button style")); actions.Add(new DesignerActionPropertyItem(@"ButtonOrientation", @"ButtonOrientation", @"Appearance", @"Button orientation")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"DropDownPosition", @"DropDownPosition", @"Appearance", @"DropDown position")); actions.Add(new DesignerActionPropertyItem(@"DropDownOrientation", @"DropDownOrientation", @"Appearance", @"DropDown orientation")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs index 895310743..a8b30323e 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListBoxActionList.cs @@ -88,19 +88,19 @@ public PaletteBorderStyle BorderStyle } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _listBox.ContextMenuStrip; + get => _listBox.KryptonContextMenu; set { - if (_listBox.ContextMenuStrip != value) + if (_listBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_listBox, null, _listBox.ContextMenuStrip, value); + _service.OnComponentChanged(_listBox, null, _listBox.KryptonContextMenu, value); - _listBox.ContextMenuStrip = value; + _listBox.KryptonContextMenu = value; } } } @@ -244,7 +244,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"BackStyle", @"Back Style", @"Appearance", @"Style used to draw background.")); actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs index 75e2120a8..f257c9691 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonListViewActionList.cs @@ -86,19 +86,19 @@ public PaletteBorderStyle BorderStyle } } - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _listView.ContextMenuStrip; + get => _listView.KryptonContextMenu; set { - if (_listView.ContextMenuStrip != value) + if (_listView.KryptonContextMenu != value) { - _service.OnComponentChanged(_listView, null, _listView.ContextMenuStrip, value); + _service.OnComponentChanged(_listView, null, _listView.KryptonContextMenu, value); - _listView.ContextMenuStrip = value; + _listView.KryptonContextMenu = value; } } } @@ -175,7 +175,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"BackStyle", @"Back Style", @"Appearance", @"Style used to draw background.")); actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display list items.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs index 67a566e9a..c8d95c0c6 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMaskedTextBoxActionList.cs @@ -37,19 +37,19 @@ public KryptonMaskedTextBoxActionList(KryptonMaskedTextBoxDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _maskedTextBox.ContextMenuStrip; + get => _maskedTextBox.KryptonContextMenu; set { - if (_maskedTextBox.ContextMenuStrip != value) + if (_maskedTextBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_maskedTextBox, null, _maskedTextBox.ContextMenuStrip, value); + _service.OnComponentChanged(_maskedTextBox, null, _maskedTextBox.KryptonContextMenu, value); - _maskedTextBox.ContextMenuStrip = value; + _maskedTextBox.KryptonContextMenu = value; } } } @@ -156,7 +156,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of label specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs index acf607e5a..ed9191208 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonMonthCalendarActionList.cs @@ -37,19 +37,19 @@ public KryptonMonthCalendarActionList(KryptonMonthCalendarDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _monthCalendar.ContextMenuStrip; + get => _monthCalendar.KryptonContextMenu; set { - if (_monthCalendar.ContextMenuStrip != value) + if (_monthCalendar.KryptonContextMenu != value) { - _service.OnComponentChanged(_monthCalendar, null, _monthCalendar.ContextMenuStrip, value); + _service.OnComponentChanged(_monthCalendar, null, _monthCalendar.KryptonContextMenu, value); - _monthCalendar.ContextMenuStrip = value; + _monthCalendar.KryptonContextMenu = value; } } } @@ -207,7 +207,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of bread crumb specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"DayStateCommonShortTextFont", @"Day State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"DayStateCommonLongTextFont", @"Day State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs index 1e0e84c37..245ba2772 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonNumericUpDownActionList.cs @@ -37,19 +37,19 @@ public KryptonNumericUpDownActionList(KryptonNumericUpDownDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _numericUpDown.ContextMenuStrip; + get => _numericUpDown.KryptonContextMenu; set { - if (_numericUpDown.ContextMenuStrip != value) + if (_numericUpDown.KryptonContextMenu != value) { - _service.OnComponentChanged(_numericUpDown, null, _numericUpDown.ContextMenuStrip, value); + _service.OnComponentChanged(_numericUpDown, null, _numericUpDown.KryptonContextMenu, value); - _numericUpDown.ContextMenuStrip = value; + _numericUpDown.KryptonContextMenu = value; } } } @@ -190,7 +190,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of label specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"NumericUpDown display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"The numeric up down font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs index 830f0b99f..656ab34d0 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonRichTextBoxActionList.cs @@ -37,19 +37,19 @@ public KryptonRichTextBoxActionList(KryptonRichTextBoxDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _richTextBox.ContextMenuStrip; + get => _richTextBox.KryptonContextMenu; set { - if (_richTextBox.ContextMenuStrip != value) + if (_richTextBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_richTextBox, null, _richTextBox.ContextMenuStrip, value); + _service.OnComponentChanged(_richTextBox, null, _richTextBox.KryptonContextMenu, value); - _richTextBox.ContextMenuStrip = value; + _richTextBox.KryptonContextMenu = value; } } } @@ -173,7 +173,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of rich text box specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs index b99661507..1cfdd9763 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTextBoxActionList.cs @@ -37,19 +37,19 @@ public KryptonTextBoxActionList(KryptonTextBoxDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _textBox.ContextMenuStrip; + get => _textBox.KryptonContextMenu; set { - if (_textBox.ContextMenuStrip != value) + if (_textBox.KryptonContextMenu != value) { - _service.OnComponentChanged(_textBox, null, _textBox.ContextMenuStrip, value); + _service.OnComponentChanged(_textBox, null, _textBox.KryptonContextMenu, value); - _textBox.ContextMenuStrip = value; + _textBox.KryptonContextMenu = value; } } } @@ -208,7 +208,7 @@ public override DesignerActionItemCollection GetSortedActionItems() { // Add the list of label specific actions actions.Add(new DesignerActionHeaderItem(@"Appearance")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"InputControlStyle", @"Style", @"Appearance", @"TextBox display style.")); actions.Add(new DesignerActionPropertyItem(@"Font", @"Font", @"Appearance", @"Modifies the font of the control.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonCornerRoundingRadius", @"State Common Corner Rounding Radius", @"Appearance", @"The corner rounding radius of the control.")); diff --git a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs index 7365f91c0..464ef7c0c 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonTreeViewActionList.cs @@ -37,19 +37,19 @@ public KryptonTreeViewActionList(KryptonTreeViewDesigner owner) #endregion #region Public - /// Gets or sets the context menu strip. - /// The context menu strip. - public ContextMenuStrip ContextMenuStrip + /// Gets or sets the Krypton Context Menu. + /// The Krypton Context Menu. + public KryptonContextMenu KryptonContextMenu { - get => _treeView.ContextMenuStrip; + get => _treeView.KryptonContextMenu; set { - if (_treeView.ContextMenuStrip != value) + if (_treeView.KryptonContextMenu != value) { - _service.OnComponentChanged(_treeView, null, _treeView.ContextMenuStrip, value); + _service.OnComponentChanged(_treeView, null, _treeView.KryptonContextMenu, value); - _treeView.ContextMenuStrip = value; + _treeView.KryptonContextMenu = value; } } } @@ -227,7 +227,7 @@ public override DesignerActionItemCollection GetSortedActionItems() actions.Add(new DesignerActionHeaderItem(@"Appearance")); actions.Add(new DesignerActionPropertyItem(@"BackStyle", @"Back Style", @"Appearance", @"Style used to draw background.")); actions.Add(new DesignerActionPropertyItem(@"BorderStyle", @"Border Style", @"Appearance", @"Style used to draw the border.")); - actions.Add(new DesignerActionPropertyItem(@"ContextMenuStrip", @"Context Menu Strip", @"Appearance", @"The context menu strip for the control.")); + actions.Add(new DesignerActionPropertyItem(@"KryptonContextMenu", @"Krypton Context Menu", @"Appearance", @"The Krypton Context Menu for the control.")); actions.Add(new DesignerActionPropertyItem(@"ItemStyle", @"Item Style", @"Appearance", @"How to display tree items.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonShortTextFont", @"State Common Short Text Font", @"Appearance", @"The State Common Short Text Font.")); actions.Add(new DesignerActionPropertyItem(@"StateCommonLongTextFont", @"State Common State Common Long Text Font", @"Appearance", @"The State Common State Common Long Text Font."));