带有图标和事件的自动完成文本框
AutoCompleteTextBox with icon and events
我最近成功地将 toolkit:PhoneTextBox
与 ActionIcon
-image 和 ActionIconTapped
-action 实施到我的项目中 (Windows Phone工具包):
我需要与 AutoCompleteTextBox
相同的设计。有什么简单的方法可以做到这一点吗?
如果我没理解错的话,你要这样吗?
<StackPanel Orientation="Horizontal" Background="White" HorizontalAlignment="Left" VerticalAlignment="Top">
<toolkit:AutoCompleteBox Width="400" Text="Search items"/>
<Image Name="ActionIcon" Height="50" Width="50" Source="/ICommandExamples;component/Images/icon_search_text.png" Tap="ActionIconTapped"/>
</StackPanel>
我最近成功地将 toolkit:PhoneTextBox
与 ActionIcon
-image 和 ActionIconTapped
-action 实施到我的项目中 (Windows Phone工具包):
我需要与 AutoCompleteTextBox
相同的设计。有什么简单的方法可以做到这一点吗?
如果我没理解错的话,你要这样吗?
<StackPanel Orientation="Horizontal" Background="White" HorizontalAlignment="Left" VerticalAlignment="Top">
<toolkit:AutoCompleteBox Width="400" Text="Search items"/>
<Image Name="ActionIcon" Height="50" Width="50" Source="/ICommandExamples;component/Images/icon_search_text.png" Tap="ActionIconTapped"/>
</StackPanel>