Replies: 2 comments 1 reply
-
AvaloniaFeature.zip 2025-01-23.100905.mp4 |
Beta Was this translation helpful? Give feedback.
0 replies
-
用#name绑定 <ComboBox SelectedItem="{Binding SelectedB}" Width="100" DisplayMemberBinding="{Binding Name}"
ItemsSource="{Binding #view.((vm:ComboBoxBindingViewModel)DataContext).A.Bs}" /> 再给UserControl起个名字view |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Combobox的绑定写法如下:
Beta Was this translation helpful? Give feedback.
All reactions