views:

262

answers:

0

Hi

How do I programmatically find a control inside an itemtemplates datatemplate, e.g. how do I find the checkbox inside the following code:

<ListBox.ItemTemplate>
            <DataTemplate>

                    <CheckBox x:Name="KontoFeltCheckBox" 
                              Checked="KontoFeltCheckBox_Checked"

                              ></CheckBox>

            </DataTemplate>
        </ListBox.ItemTemplate>