C# 水平列表框项目
我想创建一个水平列表框项目,就像键盘的建议一样 但它是这样表现的 在我将Height=“30”添加到列表框后,它只显示一个建议,而另一个单词none 已解决C# 水平列表框项目,c#,windows-phone-8.1,C#,Windows Phone 8.1,我想创建一个水平列表框项目,就像键盘的建议一样 但它是这样表现的 在我将Height=“30”添加到列表框后,它只显示一个建议,而另一个单词none 已解决 <ListBox x:Name="RecognizedListBox" > <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation
<ListBox x:Name="RecognizedListBox" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Width="30" Foreground="Black" Text="{Binding}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
尝试为控件指定特定大小,使其不会展开
<ListBox Height=30 Name="RecognizedListBox"/>
尝试为控件指定特定大小,使其不会展开
<ListBox Height=30 Name="RecognizedListBox"/>
尝试为控件指定特定大小,使其不会展开
<ListBox Height=30 Name="RecognizedListBox"/>
尝试为控件指定特定大小,使其不会展开
<ListBox Height=30 Name="RecognizedListBox"/>
试着这样做:
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
...
</ListBox.ItemTemplate>
</ListBox>
...
尝试以下方法:
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
...
</ListBox.ItemTemplate>
</ListBox>
...
尝试以下方法:
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
...
</ListBox.ItemTemplate>
</ListBox>
...
尝试以下方法:
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
...
</ListBox.ItemTemplate>
</ListBox>
...
我可能会用一种奇怪的方式来完成,它是一组按钮(或可点击的文本框)水平对齐。我以前从未听说过水平列表框。我举了一个列表框的例子,也许它将是另一个工具,我不确定它是否能帮助你。我以前从未为Windows phone编程过:P.I可能会用一种奇怪的方式来编程,它是一堆按钮(或可点击的文本框)水平对齐。我以前从未听说过水平列表框。我举了一个列表框的例子,也许它将是另一个工具,我不确定它是否能帮助你。我以前从未为Windows phone编程过:P.I可能会用一种奇怪的方式来编程,它是一堆按钮(或可点击的文本框)水平对齐。我以前从未听说过水平列表框。我举了一个列表框的例子,也许它将是另一个工具,我不确定它是否能帮助你。我以前从未为Windows phone编程过:P.I可能会用一种奇怪的方式来编程,它是一堆按钮(或可点击的文本框)水平对齐。我以前从未听说过水平列表框。我举了一个列表框的例子,也许它将是另一个工具,我不确定它是否能帮助你。我以前从未为Windows phone编程过:P.thnx,查看更新1,我希望每个项目彼此靠近thnx,查看更新1,我希望每个项目彼此靠近thnx,查看更新1,我希望每个项目彼此靠近thnx,查看更新1,我希望每个项目彼此靠近