調べると ここにその情報が
XAMLの
<Grid.RowDefinitions> <RowDefinition Height="100"/> <RowDefinition Height="2*"/> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions>は C#では
grid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(100)}); grid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(2, GridUnitType.Star) }); grid.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto }); grid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(1, GridUnitType.Star) });
0 件のコメント:
コメントを投稿