简体   繁体   中英

AutoCompleteTextBox with icon and events

I recently managed to implement toolkit:PhoneTextBox with ActionIcon -image and ActionIconTapped -action into my project ( Windows Phone Toolkit ):

在此处输入图片说明

I need this same desing with AutoCompleteTextBox . Is there any easy way to do this?

If I understand correctly, Do you want like this?

<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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM