From c878ef948688a0caaeabfff81f3b300ce6e487e7 Mon Sep 17 00:00:00 2001 From: "L.WLe" <184483622@qq.com> Date: Thu, 24 Jul 2025 01:03:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(DataGridLength):=20=E6=B7=BB=E5=8A=A0TypeC?= =?UTF-8?q?onverter=E5=B1=9E=E6=80=A7=E4=BB=A5=E6=94=AF=E6=8C=81=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AtomUI.Controls.DataGrid/DataGridLength.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AtomUI.Controls.DataGrid/DataGridLength.cs b/src/AtomUI.Controls.DataGrid/DataGridLength.cs index 0d4fd97e2..a2ce89fc9 100644 --- a/src/AtomUI.Controls.DataGrid/DataGridLength.cs +++ b/src/AtomUI.Controls.DataGrid/DataGridLength.cs @@ -19,6 +19,7 @@ public enum DataGridLengthUnitType Star = 4 } +[TypeConverter(typeof(DataGridLengthConverter))] public struct DataGridLength : IEquatable { // WPF uses 1.0 as the default value as well