From d664289be6cbc3f0359597483a0e22b1457962bc Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Tue, 27 Sep 2022 23:22:06 +0800 Subject: [PATCH] chore: change default value of DropDownElement.ConsistentWidth. --- .../HandyControl_Shared/Controls/Attach/DropDownElement.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs b/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs index 20d80110..a32e99b1 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/DropDownElement.cs @@ -7,7 +7,7 @@ public class DropDownElement { public static readonly DependencyProperty ConsistentWidthProperty = DependencyProperty.RegisterAttached( "ConsistentWidth", typeof(bool), typeof(DropDownElement), - new FrameworkPropertyMetadata(ValueBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); + new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); public static void SetConsistentWidth(DependencyObject element, bool value) => element.SetValue(ConsistentWidthProperty, ValueBoxes.BooleanBox(value));