Skip to main content
Home Forums General Silverlight Installation and Setup How to get Drop down list with a check box, colored rectangle, and a string?
2 replies. Latest Post by addanki on June 18, 2009.
(0)
addanki
Member
16 points
46 Posts
06-18-2009 1:10 AM |
Hi,
I want to construct a drop down list with a check box, colored rectangle, and a string.
Please provide any suggestion or idea?
HarshBar...
Star
9908 points
1,719 Posts
06-18-2009 1:26 AM |
You can add items(like checkbox,rectangle and Textbox ) inside ComboBox items.
It will be like snippet mentioned below.
Modify each object's property in this snippet.
<ComboBox<ComboBoxItem > <StackPanel > <Checkbox /> <TextBlock/><Rectangle> </StackPanel></ComboBoxItem>
< /Combobox>
06-18-2009 2:52 AM |
Thanks Harsha, it helped to solve the problem.
Regards
Ashok