跳转至

wd:ScrollIntoView

分类:输入控件 · 可通过 WPFDevelopers NuGet 包使用。

列表定位辅助功能

示例源码

SelectorExample.xaml

XAML 用法

<DataGrid ItemsSource="{Binding ListArrays,RelativeSource={RelativeSource AncestorType=UserControl}}"
                      SelectedItem="{Binding SelectItem,RelativeSource={RelativeSource AncestorType=UserControl}}"
                      wd:ScrollIntoView.IsPosition="true"
                      Margin="4" IsReadOnly="True">

继续阅读