Hi all,
I am displaying items in ListView (that uses GridView). In one of the GridViewColumn I placed DropDownButton (which will allow setting some parameters).
For testing purpose I placed xceed ColorCanvas as DropDownButton.DropDownContent.
The problem is, that if I click into ColorCanvas DropDown gets closed.
When I click on the sliders or textboxes in ColorCanvas, it works fine. DropDown get closed only when I click to some other place in ColorCanvas.
My xaml looks like this:
Thank you.
I am displaying items in ListView (that uses GridView). In one of the GridViewColumn I placed DropDownButton (which will allow setting some parameters).
For testing purpose I placed xceed ColorCanvas as DropDownButton.DropDownContent.
The problem is, that if I click into ColorCanvas DropDown gets closed.
When I click on the sliders or textboxes in ColorCanvas, it works fine. DropDown get closed only when I click to some other place in ColorCanvas.
My xaml looks like this:
<Grid x:Name="LayoutRoot">
<ListView >
<ListView.View>
<GridView>
<GridViewColumn Header="abc" Width="130">
<GridViewColumn.CellTemplate>
<DataTemplate>
<xcd:DropDownButton Content="#">
<xcd:DropDownButton.DropDownContent>
<xcd:ColorCanvas/>
</xcd:DropDownButton.DropDownContent>
</xcd:DropDownButton>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
</GridView>
</ListView.View>
<ListViewItem/>
<ListViewItem/>
<ListViewItem/>
</ListView>
</Grid>
Do you have any idea why this happens and how to resolve this issue?Thank you.