是否可以在UWP的AutoSuggestBox中访问ComboBox的SelectedValuePath等价物?基本上我试图显示一个值作为显示文本和一个"隐藏"当选择Suggestion时,我可以在后面的代码中访问的显示文本的ID值。
<AutoSuggestBox x:Name="TxtRegNumber" HorizontalAlignment="Center" TextChanged="TxtRegNumber_OnTextChanged"
SuggestionChosen="TxtRegNumber_OnSuggestionChosen" VerticalAlignment="Center" Width="296" UpdateTextOnSelect="True" TextMemberPath="VehicleRegNumber"
DisplayMemberPath="VehicleRegNumber" ItemsSource="{Binding}" Background="#FFFDFCFC" PlaceholderText="Enter vehicle reg number" Margin="379,360,349,249">
</AutoSuggestBox>