When using the new ColumnDefinition syntax, how can I represent <ColumnDefinition />
问题 I have this code: <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition Width="50" /> </Grid.ColumnDefinitions> Can someone tell me how I can represent this using the new shortcut? <Grid ColumnDefinitions=" ,50"> In particular I am not sure what to put for the first ColumnDefinition which in my code is currently just a space before the slash. Related: Proposal: Simplify Grid Column and Row Definitions #673 回答1: As noted on the Grid Docs page the default value for Width (or Height in