In this article let us see how to use Custom styles in AutoCompleteBox Control in a silverlight application. As usual, open the visual studio and select the silverlight project.
First let us drag a AutoCompleteBox to Stack Panel as shown below into MainPage.xaml.
Now i am going to implement two stack panel resources. One is for TextBox and another one is for ListBoxItem. From the below code we can observe that for both the resources i have set some properties. Now we have to use these two resources to our TextBox and ListBoxItem.
0 Comments