DropDownFormatEventArgs

EventArgsReferences
Arguments for formatting items in a drop down using the DropDown.FormatItem event.

Constructors

DropDownFormatEventArgs

#
public DropDownFormatEventArgs(object item, int row, Font font)
Initializes a new instance of the DropDownFormatEventArgs class.
item (object)Item to format.
row (int)Row of the item to format.
font (Font)Font to use if no other is specified.

Properties

Font

#
public virtual Font Font { get; set; }
Gets or sets the font to use for this item.

IsFontSet

#
public bool IsFontSet { get; }
Gets a value indicating that the font was set during the FormatItem event.
Remarks: This is useful for handler implementations to determine if something needs to be done to format the item.