Skip to content

Commit 4a888e2

Browse files
authored
Set ScrollViewerAssist.IgnorePadding by default to True (#3622)
1 parent 77f4e9f commit 4a888e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaterialDesignThemes.Wpf/ScrollViewerAssist.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static PaddingMode GetPaddingMode(DependencyObject element)
7676
}
7777

7878
public static readonly DependencyProperty IgnorePaddingProperty = DependencyProperty.RegisterAttached(
79-
"IgnorePadding", typeof(bool), typeof(ScrollViewerAssist), new PropertyMetadata(false));
79+
"IgnorePadding", typeof(bool), typeof(ScrollViewerAssist), new PropertyMetadata(true));
8080

8181
public static void SetIgnorePadding(DependencyObject element, bool value) => element.SetValue(IgnorePaddingProperty, value);
8282
public static bool GetIgnorePadding(DependencyObject element) => (bool)element.GetValue(IgnorePaddingProperty);

0 commit comments

Comments
 (0)