14 writes to ItemHeight
System.Windows.Forms.Tests (14)
System\Windows\Forms\TreeViewTests.cs (14)
428
ItemHeight
= value
454
ItemHeight
= itemHeight
513
control.
ItemHeight
= itemHeight;
2748
ItemHeight
= value
2754
control.
ItemHeight
= value;
2775
control.
ItemHeight
= value;
2783
control.
ItemHeight
= value;
2798
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
ItemHeight
= value);
2810
ItemHeight
= 1
2812
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
ItemHeight
= indent);
6028
ItemHeight
= 11
6108
ItemHeight
= 11,
7484
treeView.
ItemHeight
= 10;
7517
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)
83
Assert.Equal(Control.DefaultFont.Height + 3, control.
ItemHeight
);
2731
Assert.Equal(expectedHeight, treeView.
ItemHeight
);
2750
Assert.Equal(expected, control.
ItemHeight
);
2755
Assert.Equal(expected, control.
ItemHeight
);
2776
Assert.True(control.
ItemHeight
> 0);
2784
Assert.True(control.
ItemHeight
> 0);
6058
Assert.Equal(11, control.
ItemHeight
);
6076
Assert.Equal(11, control.
ItemHeight
);
6139
Assert.Equal(11, control.
ItemHeight
);
6157
Assert.Equal(11, control.
ItemHeight
);
7488
treeView.
ItemHeight
.Should().Be(19);