我在C#(WPF)中編程。我用網格如下4行: <Grid>
<Grid.RowDefinitions>
<RowDefinition>
<RowDefinition>
<RowDefinition>
<RowDefinition>
</Grid.RowDefinitions>
<!-- Height of this r
我有這個結構的窗口: 然後在代碼中構造我添加以下代碼窗口的背後: int numRow = 2;
int numColumn = 3;
for (int row = 0; row < numRow; row++)
{
var rd = new RowDefinition();
rd.Height = new GridLength(1.0, Gri
我已將RowDefinition擴展爲RowDefinitionExtended並且在那裏,我什麼時候可以獲得LogicalChildren屬於此RowDefinition。我的意思是在哪個覆蓋可以得到LogicalChildren? public class RowDefinitionExtended : RowDefinition
{
protected override void