From 3ec54130de06318f2d9aa35f6b7ac1309c0b2268 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 1 Dec 2022 22:23:18 +0000 Subject: [PATCH] [foldable] add TypeConverter to Pane1Length/Pane2Length properties (#11793) fixes #11240 Co-authored-by: Craig Dunn --- src/Controls/Foldable/src/TwoPaneView.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controls/Foldable/src/TwoPaneView.cs b/src/Controls/Foldable/src/TwoPaneView.cs index b5d0dfb52375..ecd35d114895 100644 --- a/src/Controls/Foldable/src/TwoPaneView.cs +++ b/src/Controls/Foldable/src/TwoPaneView.cs @@ -142,6 +142,7 @@ public double MinWideModeWidth /// /// Gets the calculated width (in wide mode) or height (in tall mode) of pane 1, or sets the GridLength value of pane 1. /// + [System.ComponentModel.TypeConverter(typeof(GridLengthTypeConverter))] public GridLength Pane1Length { get { return (GridLength)GetValue(Pane1LengthProperty); } @@ -151,6 +152,7 @@ public GridLength Pane1Length /// /// Gets the calculated width (in wide mode) or height (in tall mode) of pane 2, or sets the GridLength value of pane 2. /// + [System.ComponentModel.TypeConverter(typeof(GridLengthTypeConverter))] public GridLength Pane2Length { get { return (GridLength)GetValue(Pane2LengthProperty); }