Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* January 2025 (Canary) #2058

Merged
merged 116 commits into from
Jan 20, 2025
Merged
Changes from 2 commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
3f5ee1b
- Use DeviceDpi to scale images
Smurf-IV Dec 17, 2024
dce3aea
Fixes-nullables and warnings and build errors.
giduac Dec 17, 2024
3160842
Merge pull request #1960 from giduac/fix-nullables
Smurf-IV Dec 17, 2024
d5b341f
- Fix "Startup" edgecase
Smurf-IV Dec 17, 2024
74fb182
Merge pull request #1959 from Krypton-Suite/565-alpha-GroupBox-Scaling
giduac Dec 17, 2024
6ffbb41
Merge pull request #1963 from Krypton-Suite/1946-alpha-ButtonSpecs-Sc…
giduac Dec 17, 2024
e956462
- Add DPI Scaling to the Checkbox images
Smurf-IV Dec 17, 2024
164ae6a
Merge pull request #1967 from Krypton-Suite/560-alpha-CheckBox-Image-…
PWagner1 Dec 17, 2024
d14f835
* Implemented #1968
PWagner1 Dec 17, 2024
9ac4d9e
Merge pull request #1969 from Krypton-Suite/1968-feature-request-open…
Smurf-IV Dec 18, 2024
3081f4a
- `KryptonTreeView` Node crosses are now Dpi Scaled
Smurf-IV Dec 18, 2024
9d772fb
Merge pull request #1974 from Krypton-Suite/1964-alpha-KTreeView-Node…
PWagner1 Dec 18, 2024
c7201bf
- Make sure Panel is sized to the Form before allowing controls to be…
Smurf-IV Dec 19, 2024
9fbb447
Merge pull request #1978 from Krypton-Suite/1977-alpha-Control-Anchor
giduac Dec 19, 2024
833498b
1908-V100-KDGV-ComboBoxColumn-updates
giduac Dec 20, 2024
39347ae
1908-V100-KDGV-ComboBoxColumn-updates
giduac Dec 20, 2024
1b40480
1979-Kryptonform-Temporary-Fix
giduac Dec 20, 2024
53faec7
1979-Kryptonform-Temporary-Fix
giduac Dec 20, 2024
77b2577
Merge pull request #1980 from giduac/1908-V100-KDGV-ComboBoxColumn-up…
Smurf-IV Dec 20, 2024
8e0d5ad
Merge pull request #1981 from giduac/1979-Kryptonform-Temporary-Fix
Smurf-IV Dec 20, 2024
f969fc6
1908-V100-KDGV-Column-indicator-image-class-update
giduac Dec 20, 2024
6cddc93
Merge pull request #1982 from giduac/1908-V100-KDGV-Column-indicator-…
PWagner1 Dec 20, 2024
44b49e0
Merge pull request #1983 from Krypton-Suite/alpha
PWagner1 Dec 21, 2024
039516a
* Resolved #1287
PWagner1 Dec 22, 2024
1785511
* Values
PWagner1 Dec 22, 2024
13e2789
* Use verbatim strings
PWagner1 Dec 22, 2024
a911b2e
* Resolved #213
PWagner1 Dec 22, 2024
70a1147
* Some ammendments
PWagner1 Dec 22, 2024
e52fbf8
* Fixes to TestApp
PWagner1 Dec 22, 2024
abd7dc7
* KryptonProgressBar bitmap
PWagner1 Dec 22, 2024
3460f65
* Some tweaks
PWagner1 Dec 23, 2024
c110c4d
1784-V100-KryptonDataGridView-reorders-Columns-during-debugging
giduac Dec 23, 2024
5bb10f0
1784-V100-KryptonDataGridView-reorders-Columns-during-debugging
giduac Dec 23, 2024
7760a95
1784-V100-KryptonDataGridView-reorders-Columns-during-debugging
giduac Dec 23, 2024
6fe8f6a
1784-V100-KryptonDataGridView-reorders-Columns-during-debugging
giduac Dec 23, 2024
1a2148e
Merge pull request #1986 from giduac/1784-V100-KryptonDataGridView-re…
PWagner1 Dec 24, 2024
46d8699
Merge branch 'alpha' into 213-bug-thememanager-needs-to-be-crossthrea…
PWagner1 Dec 24, 2024
c1a473c
Merge branch 'alpha' into 1287-bug-ktoast-has-many-issues-text-area
PWagner1 Dec 24, 2024
6f0f27a
1908-V100-KryptonDataGridViewDateTimePickerCell-updates
giduac Dec 24, 2024
ce6ccfb
Merge pull request #1988 from giduac/1908-V100-KryptonDataGridViewDat…
PWagner1 Dec 24, 2024
e2aa5e9
Updates tot the KryptonDataGridViewDateTimePickerColumn
giduac Dec 25, 2024
9fecf2d
Merge pull request #1989 from giduac/1908-V100-KryptonDataGridViewDat…
PWagner1 Dec 25, 2024
cf9a75c
1908-V100-KryptonDataGridViewDomainUpDownCell-updates
giduac Dec 25, 2024
ee5f148
1908-V100-KDGV-ComboBoxColumn-updates
giduac Dec 25, 2024
5f487a3
1908-V100-KDGV-ComboBoxColumn-updates
giduac Dec 25, 2024
e05a19d
1908-V100-KryptonDataGridViewNumericUpDownCell-updates
giduac Dec 25, 2024
cccb6aa
1784-V100-KryptonDataGridView-reorders-Columns-during-debugging
giduac Dec 26, 2024
e265783
Merge pull request #1993 from giduac/1784-V100-KryptonDataGridView-re…
PWagner1 Dec 26, 2024
f95aadb
Merge pull request #1992 from giduac/1908-V100-KryptonDataGridViewNum…
PWagner1 Dec 26, 2024
eddf8ba
Merge pull request #1991 from giduac/1908-V100-KDGV-ComboBoxColumn-up…
PWagner1 Dec 26, 2024
76ec0cc
Merge pull request #1990 from giduac/1908-V100-KryptonDataGridViewDom…
PWagner1 Dec 26, 2024
1281f45
- Make the CueHintText work again
Smurf-IV Dec 28, 2024
7a6694a
Merge pull request #1984 from Krypton-Suite/1287-bug-ktoast-has-many-…
Smurf-IV Dec 28, 2024
b52b681
2010-KryptonDataGridView-editing-controls-do-not-react-to-local-palet…
giduac Dec 28, 2024
f367632
2010-KryptonDataGridView-editing-controls-do-not-react-to-local-palet…
giduac Dec 28, 2024
825b003
Merge branch 'alpha' into 2010-KryptonDataGridView-editing-controls-d…
giduac Dec 28, 2024
fda9747
Merge branch 'alpha' into 2009-alpha-KCombBox-CueHint
Smurf-IV Dec 28, 2024
b2fbce1
Merge pull request #2012 from Krypton-Suite/2009-alpha-KCombBox-CueHint
giduac Dec 28, 2024
05056ff
Merge branch 'alpha' into 2010-KryptonDataGridView-editing-controls-d…
Smurf-IV Dec 28, 2024
f282b03
Merge pull request #2013 from giduac/2010-KryptonDataGridView-editing…
Smurf-IV Dec 28, 2024
35c8fc2
2010-KryptonDataGridView-editing-controls-do-not-react-to-local-palet…
giduac Dec 28, 2024
9b21e8e
Merge branch '2010-KryptonDataGridView-editing-controls-do-not-react-…
giduac Dec 28, 2024
1092d5e
- Scale when needed
Smurf-IV Dec 28, 2024
5c82cab
Merge pull request #2015 from giduac/2010-KryptonDataGridView-editing…
PWagner1 Dec 28, 2024
e9afd10
Merge pull request #2017 from Krypton-Suite/561-alpha-KMenuItem-Images
PWagner1 Dec 28, 2024
89de1a0
Merge branch '213-bug-thememanager-needs-to-be-crossthread-aware-pt-I…
PWagner1 Dec 29, 2024
5d63d50
Merge pull request #2019 from Krypton-Suite/alpha-catchup29dec2024
PWagner1 Dec 29, 2024
adbafdc
2018-kryptonDataGridView-inspection-point-1
giduac Dec 29, 2024
3f09d00
Merge pull request #2020 from giduac/2018-V100-kryptonDataGridView-in…
PWagner1 Dec 29, 2024
656c760
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
57e2d0e
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
5801c2e
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
6b60ca9
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
3ee2c1e
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
ae3cc69
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Dec 31, 2024
af466fc
Merge pull request #2024 from giduac/2023-kryptonDataGridView-IconSpe…
Smurf-IV Dec 31, 2024
2a151b3
Merge pull request #2028 from Krypton-Suite/alpha
PWagner1 Dec 31, 2024
65b0412
* Addressed feedback
PWagner1 Dec 31, 2024
0b55d86
* KManager
PWagner1 Dec 31, 2024
8acca22
* Fix exception dialog sizing
PWagner1 Dec 31, 2024
6a35604
Merge pull request #1985 from Krypton-Suite/213-bug-thememanager-need…
Smurf-IV Jan 1, 2025
4e6dac5
* #2021 - Conversion from XML -> JSON using native APIs
PWagner1 Jan 1, 2025
9351e20
* Fix WFO1000
PWagner1 Jan 1, 2025
89346da
* Simplify `EscapeJsonString`
PWagner1 Jan 1, 2025
8f5fdc4
* Documentation
PWagner1 Jan 1, 2025
37f82fa
Merge pull request #2029 from Krypton-Suite/2021-feature-request-impl…
Smurf-IV Jan 2, 2025
1bdef14
2027-OutlookGrid-back-to-Extended-ToolKit
giduac Jan 3, 2025
90fc274
2027-OutlookGrid-back-to-Extended-ToolKit
giduac Jan 3, 2025
b6cfcc3
Merge pull request #2031 from giduac/2027-OutlookGrid-back-to-Extende…
Smurf-IV Jan 3, 2025
13da8d3
2023-kryptonDataGridView-IconSpec-image-not-updated-after-change
giduac Jan 5, 2025
528cc0c
Merge pull request #2032 from giduac/2023-kryptonDataGridView-IconSpe…
PWagner1 Jan 5, 2025
c67cf3a
2035-V100-KryptonDataGridView-ColumnDesigners-are-incomplete-or-missing
giduac Jan 6, 2025
417a65a
Merge pull request #2036 from giduac/2035-V100-KryptonDataGridView-Co…
Smurf-IV Jan 6, 2025
a4ccef9
2037-KryptonDataGridView-Sync-V85-and-V95-with-V100
giduac Jan 6, 2025
ddfa354
Merge pull request #2038 from giduac/2037-KryptonDataGridView-Sync-V8…
Smurf-IV Jan 6, 2025
6291cad
2037-V100-KryptonDataGridView-Sync-V85-and-V95-with-V100
giduac Jan 8, 2025
cbd8657
Merge pull request #2043 from giduac/2037-V100-KryptonDataGridView-Sy…
PWagner1 Jan 8, 2025
e10f24a
2047-MDI-children-do-respond-to-LayoutMdi-calls
giduac Jan 11, 2025
190a35c
Merge pull request #2050 from giduac/2047-V100-MDI-children-do-not-re…
PWagner1 Jan 11, 2025
dea8c8b
- Make sure designer works for KRTB
Smurf-IV Jan 12, 2025
5220e36
Merge pull request #2055 from Krypton-Suite/2053-alpha-KRichTextBox-D…
giduac Jan 12, 2025
243cd48
1623-establish-a-single-point-where-a-KryptonCustomPalette-is-assigned
giduac Jan 18, 2025
360eb1d
1623-establish-a-single-point-where-a-KryptonCustomPalette-is-assigned
giduac Jan 18, 2025
a3e45b7
Merge pull request #2089 from giduac/1623-establish-a-single-point-wh…
Smurf-IV Jan 18, 2025
416d1dc
1623-establish-a-single-point-where-a-KryptonCustomPalette-is-assigned
giduac Jan 18, 2025
6252d7f
1623-establish-a-single-point-where-a-KryptonCustomPalette-is-assigned
giduac Jan 18, 2025
f15b55d
1623-establish-a-single-point-where-a-KryptonCustomPalette-is-assigned
giduac Jan 18, 2025
bfc9efc
Delete Source/Krypton Components/TestForm/ThemeTest.Designer.cs
giduac Jan 18, 2025
6071c00
Delete Source/Krypton Components/TestForm/ThemeTest.resx
giduac Jan 18, 2025
35a59bd
* Removal of some obsolete code
PWagner1 Jan 18, 2025
b4e3046
Update XmlHelper.cs
PWagner1 Jan 18, 2025
4c25b4e
Update VisualForm.cs
PWagner1 Jan 18, 2025
3f743f0
Merge pull request #2091 from Krypton-Suite/alpha-obsolete-removal-pt-I
giduac Jan 18, 2025
118c33d
Merge pull request #2090 from giduac/1623-establish-a-single-point-wh…
giduac Jan 19, 2025
8fbae18
2022-remove-obsolete-method-SetTheme-from-ThemeManager
giduac Jan 19, 2025
6b4798b
Merge pull request #2092 from giduac/2022-remove-obsolete-method-SetT…
PWagner1 Jan 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -21,8 +21,6 @@ internal class KryptonDataGridViewCellIndicatorImage : IDisposable
private int _size;
// Datagridview the column belongs to.
private KryptonDataGridView? _dataGridView;
// Concurrency lock
private ReaderWriterLockSlim _rwls;
// State of disposal
private bool _disposed = false;

@@ -39,7 +37,6 @@ internal class KryptonDataGridViewCellIndicatorImage : IDisposable
public KryptonDataGridViewCellIndicatorImage(int imageSize = 14)
{
_size = imageSize;
_rwls = new();

UpdateCellIndicatorImage(true);
KryptonManager.GlobalPaletteChanged += OnKryptonManagerGlobalPaletteChanged;
@@ -78,17 +75,7 @@ public KryptonDataGridView? DataGridView
/// <summary>
/// Cell indicator image.
/// </summary>
public virtual Image? Image
{
get
{
_rwls.EnterReadLock();
var image = _image?.Clone() as Image;
_rwls.ExitReadLock();

return image;
}
}
public virtual Image? Image => _image;

/// <inheritdoc/>>
public void Dispose()
@@ -144,18 +131,12 @@ private void UpdateCellIndicatorImage(bool updateFromKryptonManager)
{
if (updateFromKryptonManager)
{
_rwls.EnterWriteLock();

// Probably the case used most, so first to check.
_image = KryptonManager.CurrentGlobalPalette.GetGalleryButtonImage(_paletteRibbonGalleryButton, _paletteState)!;
ResizeCellIndicatorImage();

_rwls.ExitWriteLock();
}
else if (DataGridView is KryptonDataGridView dataGridView)
{
_rwls.EnterWriteLock();

if (dataGridView.Palette is not null && dataGridView.PaletteMode == PaletteMode.Custom)
{
// The grid has a custom palette instance assigned to it and PaletteMode is Custom
@@ -170,8 +151,6 @@ private void UpdateCellIndicatorImage(bool updateFromKryptonManager)
}

ResizeCellIndicatorImage();

_rwls.ExitWriteLock();
}
}