how to add deleteButtons to every ComboxItem in the comboBox RRS feed

  • Question

  • like the picture shows

    • Edited by pingglala Monday, November 25, 2013 6:02 AM
    Monday, November 25, 2013 6:02 AM

All replies

  • Inside the comboboxitem xaml tag's ,  insert a stackpanel which comprises of a textblock and the image
    Monday, November 25, 2013 12:35 PM
  • Hi pingglala,

    Welcome here!

    Something like this:

     <ListView x:Name="myList">
                    <StackPanel HorizontalAlignment="Left" VerticalAlignment="Center">
                                <ColumnDefinition Width="100"/>
                                <ColumnDefinition Width="100"/>
                            <TextBlock x:Name="myBlock" Text="{Binding MyDisplay}" Grid.Column="0"></TextBlock>
                            <Button x:Name="myButton" Content="Show your image here" Grid.Column="1"></Button>


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Dave SmitsMVP Tuesday, November 26, 2013 10:00 AM
    Tuesday, November 26, 2013 8:11 AM