Need Help for Listview WPF events for finding index of rows and columns
        Posted  
        
            by Ravi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ravi
        
        
        
        Published on 2010-05-22T10:42:19Z
        Indexed on 
            2010/05/22
            10:50 UTC
        
        
        Read the original article
        Hit count: 226
        
wpfdatagrid
I have a listview in WPF and i displayed data in line by line manner,i want to just find the indexs of the rows and columns,i am new to WPF,plz give me some idea about this.
            
                
                    
                    <Grid Margin="3">
                        <Grid.RowDefinitions>
                            <RowDefinition></RowDefinition>
                            <RowDefinition></RowDefinition>
                            <RowDefinition></RowDefinition>
                            <RowDefinition></RowDefinition>
                            <RowDefinition></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="600"></ColumnDefinition>
                            <ColumnDefinition></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <StackPanel Orientation="Horizontal" Grid.RowSpan="1">
                            <Label Name="lblID1" FontWeight="Bold" Grid.Row="0">ID:</Label>
                            <Label Name="lblID" Grid.Row="0">
                                <TextBlock FontFamily="verdana" FontSize="12" FontWeight="Bold" Grid.Column="0" Padding="0" Text="{Binding Path=ID}"></TextBlock>
                            </Label>
                            <Label Name="lblDescrip1" FontWeight="Bold" Grid.Row="1">Description:</Label>
                            <Label Name="lblDescrip">
                                <TextBlock FontFamily="verdana" FontSize="12" Grid.Column="1" Text="{Binding Path=DESCRIP}"></TextBlock>
                            </Label>
                        </StackPanel>
Fee: Type: Special:
© Stack Overflow or respective owner