Skip to main content

Microsoft Silverlight

Answered Question How to get Drop down list with a check box, colored rectangle, and a string?RSS Feed

(0)

addanki
addanki

Member

Member

16 points

46 Posts

How to get Drop down list with a check box, colored rectangle, and a string?

Hi,

I want to construct a drop down list with a check box, colored rectangle, and a string. 

Please provide any suggestion or idea?

HarshBardhan
HarshBar...

Star

Star

9908 points

1,719 Posts

Answered Question

Re: How to get Drop down list with a check box, colored rectangle, and a string?

 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>

 

Mark as answer if this post answered your question.

Harsh Bardhan

addanki
addanki

Member

Member

16 points

46 Posts

Re: How to get Drop down list with a check box, colored rectangle, and a string?

Thanks Harsha, it helped to solve the problem.

Regards

Ashok

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities