For example:
<Grid Name='TestGrid'> <Grid.ColumnDefinitions> <ColumnDefinition Name='TestColumnName' Width='*' /> </Grid.ColumnDefinitions> </Grid>
I would like to be able to access the column definition in code using the name ‘TestColumnName’.
Use the x:Name property instead of Name 🙂