From d24bfaa37edc1da582afa7be605e1aa51246121b Mon Sep 17 00:00:00 2001 From: Emmanuele Sassi Date: Thu, 23 Oct 2025 17:50:55 +0200 Subject: [PATCH] EgwWPFBaseLib 2.7.10.3: - aggiunta funzione ResetIsReadOnlyToOrig --- EgwWPFBaseLib.Debug.nuspec | 2 +- EgwWPFBaseLib.Release.nuspec | 2 +- EgwWPFBaseLib/EgwDataGrid/ColumnLayout.vb | 5 +++++ EgwWPFBaseLib/My Project/AssemblyInfo.vb | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/EgwWPFBaseLib.Debug.nuspec b/EgwWPFBaseLib.Debug.nuspec index a137bff..c4ab422 100644 --- a/EgwWPFBaseLib.Debug.nuspec +++ b/EgwWPFBaseLib.Debug.nuspec @@ -2,7 +2,7 @@ EgwWPFBaseLib - 2.7.10.2 + 2.7.10.3 EgwWPFBaseLib Emmanuele Sassi false diff --git a/EgwWPFBaseLib.Release.nuspec b/EgwWPFBaseLib.Release.nuspec index b3a7db4..ade079d 100644 --- a/EgwWPFBaseLib.Release.nuspec +++ b/EgwWPFBaseLib.Release.nuspec @@ -2,7 +2,7 @@ EgwWPFBaseLib - 2.7.10.2 + 2.7.10.3 EgwWPFBaseLib Emmanuele Sassi false diff --git a/EgwWPFBaseLib/EgwDataGrid/ColumnLayout.vb b/EgwWPFBaseLib/EgwDataGrid/ColumnLayout.vb index 9897794..45cf8df 100644 --- a/EgwWPFBaseLib/EgwDataGrid/ColumnLayout.vb +++ b/EgwWPFBaseLib/EgwDataGrid/ColumnLayout.vb @@ -101,6 +101,7 @@ Public Class ColumnLayout End Set End Property + Private _origIsReadOnly As Boolean = False Private _isReadOnly As Boolean = False Public Property IsReadOnly As Boolean @@ -112,6 +113,9 @@ Public Class ColumnLayout NotifyPropertyChanged() End Set End Property + Friend Sub ResetIsReadOnlyToOrig() + IsReadOnly = _isReadOnly + End Sub Private _isVisibilityUserEditable As Boolean = True @@ -137,6 +141,7 @@ Public Class ColumnLayout _canUserResize = CanUserResize _canUserReorder = CanUserReorder _canUserSort = CanUserSort + _origIsReadOnly = IsReadOnly _isReadOnly = IsReadOnly _isVisibilityUserEditable = IsVisibilityUserEditable _canUserReorderUserEditable = CanUserReorderUserEditable diff --git a/EgwWPFBaseLib/My Project/AssemblyInfo.vb b/EgwWPFBaseLib/My Project/AssemblyInfo.vb index 068e3b8..7841099 100644 --- a/EgwWPFBaseLib/My Project/AssemblyInfo.vb +++ b/EgwWPFBaseLib/My Project/AssemblyInfo.vb @@ -52,5 +52,5 @@ Imports System.Windows ' Revision ' - - + +