chore: change default value of DropDownElement.ConsistentWidth.
This commit is contained in:
1 parent
25f4f9618a
commit
d664289be6
1 file changed
+1
-1
@@ -7,7 +7,7 @@ public class DropDownElement
|
|||||||
{
|
{
|
||||||
public static readonly DependencyProperty ConsistentWidthProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty ConsistentWidthProperty = DependencyProperty.RegisterAttached(
|
||||||
"ConsistentWidth", typeof(bool), typeof(DropDownElement),
|
"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)
|
public static void SetConsistentWidth(DependencyObject element, bool value)
|
||||||
=> element.SetValue(ConsistentWidthProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(ConsistentWidthProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|||||||
Reference in new issue
Block a user