Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I'm trying to keep a static text in autocomplete textbox with .text property.

But it is not showing me any data

I tried in code behind

autocomplete.Text="Search";

and also in Xaml page

XML
<sdk:AutoCompleteBox  Width="180" x:Name="autoCompleteBox1" Text="Search"  Foreground="Black"  Padding="5,0,0,4" Grid.Row="1"   Height="25"  Grid.Column="0"  Margin="0,5,20,0" HorizontalAlignment="Right" TextChanged="autoCompleteBox1_TextChanged" >

        </sdk:AutoCompleteBox>


Is this wont work, or any other solution for displaying a static text


But this were not wworked atlast I'm trying to keeep a image atleast in autocomplete
Posted
Updated 26-Aug-14 0:23am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900