tags:

views:

2

answers:

0

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: