WPF Combobox in Gridview's column

Posted by plotnick on Stack Overflow See other posts from Stack Overflow or by plotnick
Published on 2010-03-17T23:26:30Z Indexed on 2010/03/17 23:31 UTC
Read the original article Hit count: 691

Filed under:
|
|
|

I got a combobox in the grid's column:

      <ListView>
          <ListView.View>
               <GridView>
                    <GridViewColumn>
                        <GridViewColumn.CellTemplate>
                            <DataTemplate>
                                <ComboBox />
                            </DataTemplate>
                        </GridViewColumn.CellTemplate>
                    </GridViewColumn>

Now, in the SelectionChanged() of ComboBox I'm trying to change some value in an other column but the same row. And I can't find how to get the current row. none of the following doesn't work

ListView.Items.CurrentPosition ListView.Items.CurrentItem

please guys help me

© Stack Overflow or respective owner

Related posts about wpf

Related posts about combobox