Very good, I have an application in which I should create as many UserControl objects as a value stored in a ComboBox variable. The objects are created but I would like that each time you create a new one, increase the value of your counter in one.
The problem is that I do not know how to pass that number to XAML ... In this image I think it will understand what I ask;
In the image, as I need 4 objects I create them automatically but they all start from the same class and have the same Header
, that is, they are all called Configuracion nivel 0
Can I do in some way that each object that I create has a correlative number? 0,1,2,3,4,5 ...
This XAML thing is killing me ...
Thanks