Class FontComboBox
ComboBox descendant for selecting font names.
public class FontComboBox : ComboBox, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, INotifyDataErrorInfo, IReadOnlyStrings, IListControl<object>, IListControl, IControl, IDisposable, IWin32Window, IListControlItemContainer
- Inheritance
-
FontComboBox
- Implements
Constructors
- FontComboBox()
Initializes a new instance of the FontComboBox class.
- FontComboBox(Control)
Initializes a new instance of the FontComboBox class.
- FontComboBox(bool)
Initializes a new instance of the FontComboBox class with default list of the fonts.
Fields
- InitFonts
Gets or sets method that initializes items in FontListBox.
Properties
- Value
Gets or sets font name.
Methods
- InitDefaultFonts(FontComboBox)
Adds font names to the FontComboBox. This is default implementation of the initialization method. It is assigned to InitFonts property by default.
- Initialize(bool)
Initializes control with default font names and assigns item painter. This method is called from constructor.