Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Row & Column Of Object In Grid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01470520
Message ID:
01470596
Vues:
30
>>I hve a WPF window with some controls in the default grid.
>>
>>When a control is clicked how can I get the Row & Column numbers of the object that was clicked?
int i = (int)  control.GetValue(Grid.RowProperty);
etc...

Excellent! Thanks Viv!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform