14 writes to ItemHeight
System.Windows.Forms.Tests (14)
System\Windows\Forms\TreeViewTests.cs (14)
426
ItemHeight
= value
452
ItemHeight
= itemHeight
511
control.
ItemHeight
= itemHeight;
2746
ItemHeight
= value
2752
control.
ItemHeight
= value;
2773
control.
ItemHeight
= value;
2781
control.
ItemHeight
= value;
2796
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
ItemHeight
= value);
2808
ItemHeight
= 1
2810
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
ItemHeight
= indent);
6026
ItemHeight
= 11
6106
ItemHeight
= 11,
7482
treeView.
ItemHeight
= 10;
7515
treeView.
ItemHeight
= 10;
12 references to ItemHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1921
PInvokeCore.SendMessage(this, PInvoke.TVM_SETITEMHEIGHT, (WPARAM)
ItemHeight
);
System.Windows.Forms.Tests (11)
System\Windows\Forms\TreeViewTests.cs (11)
81
Assert.Equal(Control.DefaultFont.Height + 3, control.
ItemHeight
);
2729
Assert.Equal(expectedHeight, treeView.
ItemHeight
);
2748
Assert.Equal(expected, control.
ItemHeight
);
2753
Assert.Equal(expected, control.
ItemHeight
);
2774
Assert.True(control.
ItemHeight
> 0);
2782
Assert.True(control.
ItemHeight
> 0);
6056
Assert.Equal(11, control.
ItemHeight
);
6074
Assert.Equal(11, control.
ItemHeight
);
6137
Assert.Equal(11, control.
ItemHeight
);
6155
Assert.Equal(11, control.
ItemHeight
);
7486
treeView.
ItemHeight
.Should().Be(19);