Skip to content

Commit

Permalink
[foldable] add TypeConverter to Pane1Length/Pane2Length properties (#…
Browse files Browse the repository at this point in the history
…11793)

fixes #11240

Co-authored-by: Craig Dunn <craig.dunn@microsoft.com>
  • Loading branch information
github-actions[bot] and conceptdev authored Dec 1, 2022
1 parent 29f32ad commit 3ec5413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controls/Foldable/src/TwoPaneView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public double MinWideModeWidth
/// <summary>
/// Gets the calculated width (in wide mode) or height (in tall mode) of pane 1, or sets the GridLength value of pane 1.
/// </summary>
[System.ComponentModel.TypeConverter(typeof(GridLengthTypeConverter))]
public GridLength Pane1Length
{
get { return (GridLength)GetValue(Pane1LengthProperty); }
Expand All @@ -151,6 +152,7 @@ public GridLength Pane1Length
/// <summary>
/// Gets the calculated width (in wide mode) or height (in tall mode) of pane 2, or sets the GridLength value of pane 2.
/// </summary>
[System.ComponentModel.TypeConverter(typeof(GridLengthTypeConverter))]
public GridLength Pane2Length
{
get { return (GridLength)GetValue(Pane2LengthProperty); }
Expand Down

0 comments on commit 3ec5413

Please sign in to comment.