
我用滑块获得了这个功能,但是我想像Microsoft办公室一样制作一个可扩展的列表.但我不知道如何在xaml中制作它.我唯一能想到的是Expander>但它看起来不同.
你的意思是
<ComboBox>
<ComboBoxItem>1</ComboBoxItem>
<ComboBoxItem>2</ComboBoxItem>
<ComboBoxItem>3</ComboBoxItem>
</ComboBox>
Run Code Online (Sandbox Code Playgroud)
RESP:
<ComboBox ItemsSource="{Binding Numbers}" />
Run Code Online (Sandbox Code Playgroud)