chore: change default value of DropDownElement.ConsistentWidth.

This commit is contained in:
NaBian committed 2022-09-27 23:22:06 +08:00
1 parent 25f4f9618a
commit d664289be6
1 file changed
+1 -1
@@ -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));