How to change CheckedListBox item vertical space
The default implementation of ItemHeight property of CheckedListBox is,
public override int ItemHeight {
get {
// this should take FontHeight + buffer into Consideration.
return Font.Height + 2;
}
set {
}
}
you can cleanly override this property in a new class.
public sealed class MyListBox:CheckedListBox
{
public MyListBox()
{
ItemHeight = 30;
}
public override int ItemHeight { get; set; }
}
this should allow you to set your own ItemHeight.