diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsPage.xaml b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsPage.xaml
index 4e81fb93152..3b61d30401c 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsPage.xaml
+++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsPage.xaml
@@ -24,15 +24,15 @@
-
+
+
+
{
- var index = int.TryParse(indexInput.Text, out var i) ? i : 0;
- var itemPlacement = itemPlacementInput.SelectedItem switch
+ var index = int.TryParse(IndexInput.Text, out var i) ? i : 0;
+ var itemPlacement = ItemPlacementInput.SelectedItem switch
{
"Default" => ItemPlacement.Default,
"Left" => ItemPlacement.Left,
@@ -63,10 +51,10 @@ private void Load()
_ => ItemPlacement.Default
};
- var disableAnimation = disableAnimationInput.IsChecked ?? false;
- var scrollIfVisibile = scrollIfVisibileInput.IsChecked ?? true;
- var additionalHorizontalOffset = int.TryParse(additionalHorizontalOffsetInput.Text, out var ho) ? ho : 0;
- var additionalVerticalOffset = int.TryParse(additionalVerticalOffsetInput.Text, out var vo) ? vo : 0;
+ var disableAnimation = DisableAnimationInput.IsChecked ?? false;
+ var scrollIfVisibile = ScrollIfVisibileInput.IsChecked ?? true;
+ var additionalHorizontalOffset = int.TryParse(AdditionalHorizontalOffsetInput.Text, out var ho) ? ho : 0;
+ var additionalVerticalOffset = int.TryParse(AdditionalVerticalOffsetInput.Text, out var vo) ? vo : 0;
sampleListView.SmoothScrollIntoViewWithIndexAsync(index, itemPlacement, disableAnimation, scrollIfVisibile, additionalHorizontalOffset, additionalVerticalOffset);
});
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsXaml.bind b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsXaml.bind
index b323642055a..0c3c8ea384b 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsXaml.bind
+++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsXaml.bind
@@ -18,54 +18,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- Default
- Left
- Top
- Center
- Right
- Bottom
-
-
-
-
-
-
-
+
+
\ No newline at end of file