userhi
userhi

Reputation: 583

search box control in Windows Phone 8.1?

how to add a searchbox control in windows Phone 8.1?

i had used search box in WP8 like as below

How to use this in Windows Phone 8.1?

Please let me know if any new controls or new namespaces to add.?

<StackPanel Orientation="Horizontal" Margin="0,8,0,0" Visibility="Collapsed" x:Name="SearchPanel">
                    <toolkit:PhoneTextBox Hint="Search" x:Name="tbxSearch"  Width="340"
                                     ActionIcon="/Images/appbar.feature.search.rest.png"
                                     ActionIconTapped="Search_ActionIconTapped"/>
                    <Image  x:Name="speaker" Source="/Images/microphone1.png" Height="48" Width="48" MouseLeftButtonDown="speaker_MouseLeftButtonDown_1"></Image>
                </StackPanel>

Upvotes: 1

Views: 1634

Answers (1)

BOBIN JOSEPH
BOBIN JOSEPH

Reputation: 1022

You have to add System.Windows.Controls.Orientation Namespace for these are the control. Then you can refer https://msdn.microsoft.com/en-in/library/windows/apps/bg182890.aspx , http://www.geekchamp.com/articles/windows-phone-toolkit-phonetextbox-in-depth for other clarifications

Upvotes: 1

Related Questions